X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=Jamfile;h=426b91db981ed67cdbdf35ab102d1643810bf739;hb=cc66a363cb7a39d806976eced39feb2035a48a3e;hp=15413e1651c0467c9d5044b8bc0f2c46100fa889;hpb=3e1ea65bfa3cf450b9c7207831d9403a2c0f9101;p=supertux.git diff --git a/Jamfile b/Jamfile index 15413e165..426b91db9 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 += -k_ -C ; + +InstallPixmap data/images/engine/icons/supertux.png data/images/engine/icons/supertux.xpm ; +InstallDesktop supertux.desktop ; +InstallDoc NEWS README COPYING AUTHORS ChangeLog ;