X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=Makefile;h=a32cc3e8feb715e8acb204537a2f2fee685950d7;hb=d0370d6c5d4b7150bfe41517670b59c781de7def;hp=3859605703f49052f3be49bfa25384ad4f455aa6;hpb=baa8a5945e29594a3678ce446a643e6a9b56fd93;p=platal.git diff --git a/Makefile b/Makefile index 3859605..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,7 +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 + wget http://jquery.com/src/jquery-latest.pack.js -O $@ -q || ($(RM) $@; exit 1) ################################################################################