X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=Jamfile;h=426b91db981ed67cdbdf35ab102d1643810bf739;hb=20c982be17c7be640faded89ccb48a3a2de34ccc;hp=95093248b047a5510e5d946c6a361640135eef3c;hpb=6c3a5307b87bc3fff19e819281cf2b87a2b5010b;p=supertux.git diff --git a/Jamfile b/Jamfile index 95093248b..426b91db9 100644 --- a/Jamfile +++ b/Jamfile @@ -1,17 +1,33 @@ +# 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 ; UseAutoconf ; -# for now... -Package [ Wildcard po : *.po *.in Changelog ] ; -Package [ Wildcard intl : *.c *.h ChangeLog VERSION Makefile.in ] ; -Package INSTALL NEWS README COPYING AUTHORS ChangeLog ABOUT-NLS depcomp - install-sh mkinstalldirs missing ; +# 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 += -k_ -C ; -Package Makefile.am src/Makefile.am lib/Makefile.am data/Makefile.am - po/Makefile.in.in intl/Makefile.in ; +InstallPixmap data/images/engine/icons/supertux.png data/images/engine/icons/supertux.xpm ; +InstallDesktop supertux.desktop ; +InstallDoc NEWS README COPYING AUTHORS ChangeLog ;