all: build
-build: core conf banana wiki openid medals jquery
+build: core conf static banana wiki openid medals jquery
q:
@echo -e "Code statistics\n"
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
##