projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
TODO update
[supertux.git]
/
Jamfile
diff --git
a/Jamfile
b/Jamfile
index
49f762a
..
4227a37
100644
(file)
--- a/
Jamfile
+++ b/
Jamfile
@@
-1,5
+1,24
@@
SubDir TOP ;
SubDir TOP ;
+if $(XGETTEXT) != ""
+{
+ actions XGetText
+ {
+ $(XGETTEXT) $(XGETTEXT_FLAGS) --keyword='_:1' -o $(<) $(>)
+ }
+ rule MakePot
+ {
+ if $(>) {
+ XGetText $(<) : $(>) ;
+ Depends $(<) : $(>) ;
+ Depends all : $(<) ;
+ }
+ }
+} else {
+ rule MakePot
+ { }
+}
+
# Decend into subdirs
SubInclude TOP lib ;
SubInclude TOP src ;
# Decend into subdirs
SubInclude TOP lib ;
SubInclude TOP src ;
@@
-10,3
+29,5
@@
UseAutoconf ;
# add some additional files to package
Package INSTALL NEWS README COPYING AUTHORS ChangeLog ;
# add some additional files to package
Package INSTALL NEWS README COPYING AUTHORS ChangeLog ;
+MakePot data/locale/messages.pot : $(TRANSLATABLE_SOURCES) ;
+XGETTEXT_FLAGS on data/locale/messages.pot += --language=C++ ;