[Super-tux-commit] supertux Jamfile,1.5,1.6 configure.ac,1.41,1.42
Brought to you by:
wkendrick
From: Matze B. <mat...@us...> - 2004-11-27 14:48:22
|
Update of /cvsroot/super-tux/supertux In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14344 Modified Files: Jamfile configure.ac Log Message: only run xgettext when it is installed Index: configure.ac =================================================================== RCS file: /cvsroot/super-tux/supertux/configure.ac,v retrieving revision 1.41 retrieving revision 1.42 diff -u -d -r1.41 -r1.42 --- configure.ac 25 Nov 2004 01:08:59 -0000 1.41 +++ configure.ac 27 Nov 2004 14:48:10 -0000 1.42 @@ -27,6 +27,8 @@ AC_PROG_CXX AC_PROG_INSTALL +AC_CHECK_PROGS(XGETTEXT, xgettext) + dnl Checks for header files. AC_HEADER_DIRENT AC_HEADER_STDC Index: Jamfile =================================================================== RCS file: /cvsroot/super-tux/supertux/Jamfile,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- Jamfile 27 Nov 2004 14:42:37 -0000 1.5 +++ Jamfile 27 Nov 2004 14:48:10 -0000 1.6 @@ -10,12 +10,15 @@ # add some additional files to package Package INSTALL NEWS README COPYING AUTHORS ChangeLog ; - -actions MakePot +if $(XGETTEXT) != "" { - xgettext --keyword='_:1' --c++ -o $(<) $(>) + + actions MakePot + { + $(XGETTEXT) --keyword='_:1' --c++ -o $(<) $(>) + } + MakePot supertux.pot : $(TRANSLATABLE_SOURCES) ; + Depends supertux.pot : $(TRANSLATABLE_SOURCES) ; + MakeLocate supertux.pot : data/locale ; + Depends all : supertux.pot ; } -MakePot supertux.pot : $(TRANSLATABLE_SOURCES) ; -Depends supertux.pot : $(TRANSLATABLE_SOURCES) ; -MakeLocate supertux.pot : data/locale ; -Depends all : supertux.pot ; |