X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=Makefile;h=b175f5c0b0c19b413f3bf80637eff35458a89f37;hb=52e30b581cddb796b19186139c8c79997f659936;hp=768d9cade79bc457976d91d2cd245a08812dfe2d;hpb=e22c2761d5be9abc55283092cd0f92e5c53fb93c;p=platal.git diff --git a/Makefile b/Makefile index 768d9ca..b175f5c 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,9 @@ ################################################################################ # definitions -VERSION := $(shell grep VERSION ChangeLog | head -1 | sed -e "s/VERSION //;s/\t.*//;s/ .*//") +VERSNUM := $(shell grep VERSION ChangeLog | head -1 | sed -e "s/VERSION //;s/ .*//") +VERSTAG := $(shell grep VERSION ChangeLog | head -1 | grep 'XX' > /dev/null 2> /dev/null && echo 'beta') +VERSION = $(VERSNUM)$(VERSTAG) PKG_NAME = platal PKG_DIST = $(PKG_NAME)-$(VERSION) @@ -33,9 +35,9 @@ q: ## core ## -core: spool/templates_c spool/mails_c include/globals.inc.php configs/platal.cron htdocs/.htaccess +core: spool/templates_c spool/mails_c include/globals.inc.php configs/platal.cron htdocs/.htaccess spool/conf -spool/templates_c spool/mails_c spool/uploads: +spool/templates_c spool/mails_c spool/uploads spool/conf: mkdir -p $@ chmod o+w $@