X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=Makefile;h=a32cc3e8feb715e8acb204537a2f2fee685950d7;hb=c6a7beb27785ec788a90d86124960b1b92d79cf4;hp=4004963388a2988159ecf51fa4fa2e772768fdf8;hpb=8c5c6d646a25e0d90a00ea798d18e535533c4814;p=platal.git diff --git a/Makefile b/Makefile index 4004963..a32cc3e 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) @@ -106,9 +108,9 @@ htdocs/css/banana.css: ## jquery ## -jquery: htdocs/javascript/jquery.js +jquery: htdocs/javascript/jquery.js htdocs/javascript/jquery.autocomplete.js htdocs/javascript/jquery.js: - wget http://jquery.com/src/jquery-latest.pack.js -O htdocs/javascript/jquery.js -q + wget http://jquery.com/src/jquery-latest.pack.js -O $@ -q || ($(RM) $@; exit 1) ################################################################################