X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=Makefile;h=e4b15e5f02ed4b9a46aa3673db9285e3ec2d65ba;hb=ecfc528ca4db5a9c3719494ad1baf5000d438a18;hp=446aedd0a76c5847452d6a9233d8c4f4fb4b4e35;hpb=c12cc82e1d97b51e19b294942ea9450a34d929cd;p=platal.git diff --git a/Makefile b/Makefile index 446aedd..e4b15e5 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ endef all: build -build: core conf banana wiki openid medals jquery +build: core conf static banana wiki openid medals jquery check: @!(find . -name '*.php' -exec php -l {} ";" | grep -v 'No syntax errors detected') @@ -65,6 +65,14 @@ htdocs/.htaccess: htdocs/.htaccess.in Makefile sed -e "s,@REWRITE_BASE@,$$REWRITE_BASE,g" $< > $@ ## +## static content +## +static: htdocs/javascript@VERSION + +%@VERSION: % Makefile ChangeLog + cd $< && rm -f $(VERSION) && ln -sf . $(VERSION) + +## ## wiki ##