SubDir TOP ;
-if $(XGETTEXT) != ""
-{
- actions XGetText
- {
- $(XGETTEXT) $(XGETTEXT_FLAGS) --keyword='_:1' -o $(<) $(>)
- }
- rule MakePot
- {
- if $(>) {
- XGetText $(<) : $(>) ;
- Depends $(<) : $(>) ;
- Depends all : $(<) ;
- }
- }
-} else {
- rule MakePot
- { }
+# Descend into subdirs
+if ! $(RELEASE) {
+ SubInclude TOP tools miniswig ;
}
-
-# 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 += -k_ -C --sort-by-file ;
+
+InstallPixmap data/images/engine/icons/supertux.png data/images/engine/icons/supertux.xpm ;
+InstallDesktop supertux2.desktop ;
+InstallDoc INSTALL README COPYING WHATSNEW.txt ;
+Package INSTALL README COPYING WHATSNEW.txt ;
-MakePot data/locale/supertux.pot : $(TRANSLATABLE_SOURCES) ;
-XGETTEXT_FLAGS on data/locale/supertux.pot += --language=C++ ;