-Started to move stuff from library back to main game
[supertux.git] / data / Jamfile
index 556aada..923d1b8 100644 (file)
@@ -32,11 +32,15 @@ LEVELPATHS =
   levels/test
   levels/world1
   levels/world2
-  levels/worldmap
 ;
 
 for p in $(LEVELPATHS) {
-  InstallData [ Wildcard $(p) : info *.stl *.stwm ] : $(p) ;
+  InstallData [ Wildcard $(p) : info *.stl *.stwm *.txt *.po ] : $(p) ;
+
+  local translatable_lisp = [ Wildcard $(p) : info *.stl *.stwm *.txt ] ;
+  SEARCH on $(translatable_lisp) = $(SEARCH_SOURCE) ;
+  MakePot $(SUBDIR)/$(p)/messages.pot : $(translatable_lisp) ;
+  XGETTEXT_FLAGS on $(SUBDIR)/$(p)/messages.pot += --language=Lisp ;
 }
 InstallData [ Wildcard *.txt ] ;
 InstallData [ Wildcard music : *.mod *.ogg ] : music ;