X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=Makefile;h=a32cc3e8feb715e8acb204537a2f2fee685950d7;hb=6101048c8e3feef55b7366ca691d4397294f52c2;hp=230f576cd6096a902f2e29d8000da5a06c91b182;hpb=b6cdf7b450a26a7fb5027d23569b15def0abd812;p=platal.git diff --git a/Makefile b/Makefile index 230f576..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) @@ -17,7 +19,7 @@ VCS_FILTER = ! -name .arch-ids ! -name CVS all: build -build: core banana wiki +build: core banana wiki jquery q: @echo -e "Code statistics\n" @@ -102,6 +104,14 @@ htdocs/images/banana: htdocs/css/banana.css: cd $(@D) && ln -sf /usr/share/banana/css/style.css $(@F) +## +## jquery +## + +jquery: htdocs/javascript/jquery.js htdocs/javascript/jquery.autocomplete.js +htdocs/javascript/jquery.js: + wget http://jquery.com/src/jquery-latest.pack.js -O $@ -q || ($(RM) $@; exit 1) + ################################################################################ .PHONY: build dist clean wiki build-wiki banana