X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=Jamfile;h=62ae5812bdb1997892a45056824ec379f6810b05;hb=c9e5a8a4f0627f7e2a0406e8a46c26aed0de77a7;hp=13259c77fe932ede527e9e46f0ee339812774ec5;hpb=ff047aa9eb7ff87773293c94fa51180c51c93f3b;p=supertux.git diff --git a/Jamfile b/Jamfile index 13259c77f..62ae5812b 100644 --- a/Jamfile +++ b/Jamfile @@ -1,7 +1,22 @@ +# warning for people who try jam install +actions InstallWarning +{ + 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 ; @@ -10,15 +25,9 @@ UseAutoconf ; # add some additional files to package Package INSTALL NEWS README COPYING AUTHORS ChangeLog ; -if $(XGETTEXT) != "" -{ +MakePot data/locale/messages.pot : $(TRANSLATABLE_SOURCES) ; +XGETTEXT_FLAGS on data/locale/messages.pot += --language=C++ ; - 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 ; -} +InstallPixmap data/images/engine/icons/supertux.png data/images/engine/icons/supertux.xpm ; +InstallDesktop supertux.desktop ; +InstallDoc NEWS README COPYING AUTHORS ChangeLog ;