create rules for updating the supertux.pot file
[supertux.git] / Jamfile
1 SubDir TOP ;
2
3 # Decend into subdirs
4 SubInclude TOP lib ;
5 SubInclude TOP src ;
6 SubInclude TOP data ;
7
8 UseAutoconf ;
9
10 # add some additional files to package
11 Package INSTALL NEWS README COPYING AUTHORS ChangeLog ;
12
13
14 actions MakePot
15 {
16     xgettext --keyword='_:1' --c++ -o $(<) $(>)
17 }
18 MakePot supertux.pot : $(TRANSLATABLE_SOURCES) ;
19 Depends supertux.pot : $(TRANSLATABLE_SOURCES) ;
20 MakeLocate supertux.pot : data/locale ;
21 Depends all : supertux.pot ;