-SubDir TOP ;
-
-if $(XGETTEXT) != ""
+# warning for people who try jam install
+actions InstallWarning
{
- actions XGetText
- {
- $(XGETTEXT) $(XGETTEXT_FLAGS) --keyword='_:1' -o $(<) $(>)
- }
- rule MakePot
- {
- if $(>) {
- XGetText $(<) : $(>) ;
- Depends $(<) : $(>) ;
- Depends all : $(<) ;
- }
- }
-} else {
- rule MakePot
- { }
+ echo "****************************************************************"
+ echo "* WARNING: Installation is currently broken *"
+ echo "* Please start the game directly from source directory instead *"
+ echo "****************************************************************"
+ sleep 5
}
+InstallWarning installwarning ;
+Always installwarning ;
+Depends install : installwarning ;
+
+
+SubDir TOP ;
+
# Decend into subdirs
-SubInclude TOP lib ;
+SubInclude TOP tools miniswig ;
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++ ;
+XGETTEXT_FLAGS on data/locale/messages.pot += -k_ -C ;
+
+InstallPixmap data/images/engine/icons/supertux.png data/images/engine/icons/supertux.xpm ;
+InstallDesktop supertux.desktop ;
+InstallDoc INSTALL README COPYING ;
+Package INSTALL README COPYING ;
+