X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=Makefile;h=a32cc3e8feb715e8acb204537a2f2fee685950d7;hb=44837f0200b687b01145e5a7b984830152dcd57d;hp=047d48252a8da1d2bd912a28fdf5733b5f864d65;hpb=838cc16a148b32896fe0b3baf7f6db6aa6d95741;p=platal.git diff --git a/Makefile b/Makefile index 047d482..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) @@ -108,9 +110,7 @@ htdocs/css/banana.css: 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 -htdocs/javascript/jquery.autocomplete.js: - wget http://www.dyve.net/jquery/js/jquery.autocomplete.js -O htdocs/javascript/jquery.autocomplete.js -q + wget http://jquery.com/src/jquery-latest.pack.js -O $@ -q || ($(RM) $@; exit 1) ################################################################################