-if $(XGETTEXT) != ""
-{
-
- 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 data/locale/messages.pot : $(TRANSLATABLE_SOURCES) ;
+XGETTEXT_FLAGS on data/locale/messages.pot += --language=C++ ;