# 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 ;