X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=Jamfile;h=62ae5812bdb1997892a45056824ec379f6810b05;hb=c9e5a8a4f0627f7e2a0406e8a46c26aed0de77a7;hp=877ee449c3c6bd777cdde9982b305a2bcc5c3dd9;hpb=742f64dff3466f2b3ebab1851ee2993b4ac3072e;p=supertux.git diff --git a/Jamfile b/Jamfile index 877ee449c..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,12 +25,9 @@ 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++ ; -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 ;