8 local contents = [ GLOB [ ConcatDirs $(SUBDIR) $(<) ] : $(>) ] ;
9 for fullname in $(contents)
11 local split-path = [ MATCH ^$(SUBDIR)/(.*)$ : $(fullname) ] ;
12 local name = $(split-path[1]) ;
13 if ! ( $(name:D=) in . .. .svn ) {
14 result += [ recursive-glob $(name) : $(>) ] ;
20 IMAGEPATHS = [ recursive-glob images : * ] ;
22 for p in $(IMAGEPATHS) {
24 [ Wildcard $(p) : *.png *.jpg *.xpm *.strf *.sprite *.ico *.stgt *.stwt ]
39 for p in $(LEVELPATHS) {
40 InstallData [ Wildcard $(p) : info *.nut *.stl *.stwm *.txt *.po *.pot README ] : $(p) ;
42 local translatable_lisp = [ Wildcard $(p) : info *.stl *.stwm *.txt ] ;
43 local translatable_squirrel = [ Wildcard $(p) : *.nut ] ;
44 SEARCH on $(translatable_lisp) = $(SEARCH_SOURCE) ;
45 SEARCH on $(translatable_squirrel) = $(SEARCH_SOURCE) ;
46 MakePot $(SUBDIR)/$(p)/messages.pot : $(translatable_lisp) ;
47 XGETTEXT_FLAGS on $(SUBDIR)/$(p)/messages.pot += --keyword='_:1' --language=Lisp --sort-by-file ;
49 InstallData [ Wildcard *.txt *.po *.cfg ] ;
50 InstallData [ Wildcard music : *.ogg *.music ] : music ;
51 InstallData [ Wildcard scripts : *.nut ] : scripts ;
52 InstallData [ Wildcard speech : *.ogg ] : speech ;
53 InstallData [ Wildcard sounds : *.wav *.ogg ] : sounds ;
54 InstallData [ Wildcard locale : *.po *.pot ] : locale ;