projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New Norwegian Translation
[supertux.git]
/
Jamfile
diff --git
a/Jamfile
b/Jamfile
index
49fb497
..
4227a37
100644
(file)
--- a/
Jamfile
+++ b/
Jamfile
@@
-1,7
+1,33
@@
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 ;
SubInclude TOP data ;
# Decend into subdirs
SubInclude TOP lib ;
SubInclude TOP src ;
SubInclude TOP data ;
+UseAutoconf ;
+
+# 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++ ;