make badguys bounce of each other again, make bombs and kicked mriceblocks kill other...
[supertux.git] / Jamfile
diff --git a/Jamfile b/Jamfile
index 49f762a..13259c7 100644 (file)
--- a/Jamfile
+++ b/Jamfile
@@ -10,3 +10,15 @@ UseAutoconf ;
 # add some additional files to package
 Package INSTALL NEWS README COPYING AUTHORS ChangeLog ;
 
+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 ;
+}