X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=Jamfile;h=62ae5812bdb1997892a45056824ec379f6810b05;hb=c9e5a8a4f0627f7e2a0406e8a46c26aed0de77a7;hp=15413e1651c0467c9d5044b8bc0f2c46100fa889;hpb=3e1ea65bfa3cf450b9c7207831d9403a2c0f9101;p=supertux.git diff --git a/Jamfile b/Jamfile index 15413e165..62ae5812b 100644 --- a/Jamfile +++ b/Jamfile @@ -1,26 +1,22 @@ -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 ; @@ -29,5 +25,9 @@ UseAutoconf ; # add some additional files to package Package INSTALL NEWS README COPYING AUTHORS ChangeLog ; -MakePot data/locale/supertux.pot : $(TRANSLATABLE_SOURCES) ; -XGETTEXT_FLAGS on data/locale/supertux.pot += --language=C++ ; +MakePot data/locale/messages.pot : $(TRANSLATABLE_SOURCES) ; +XGETTEXT_FLAGS on data/locale/messages.pot += --language=C++ ; + +InstallPixmap data/images/engine/icons/supertux.png data/images/engine/icons/supertux.xpm ; +InstallDesktop supertux.desktop ; +InstallDoc NEWS README COPYING AUTHORS ChangeLog ;