X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=Jamfile;h=426b91db981ed67cdbdf35ab102d1643810bf739;hb=30f0f1d78e3f0bbbaf0b8d9d80fcbb579059941e;hp=13259c77fe932ede527e9e46f0ee339812774ec5;hpb=ff047aa9eb7ff87773293c94fa51180c51c93f3b;p=supertux.git diff --git a/Jamfile b/Jamfile index 13259c77f..426b91db9 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 += -k_ -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 ;