projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge commit 'origin/fusionax' into account
[platal.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
446aedd
..
e4b15e5
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-26,7
+26,7
@@
endef
all: build
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')
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" $< > $@
##
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
##
## wiki
##