summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2015-02-26 17:49:20 +0100
committerJonas Smedegaard <dr@jones.dk>2015-02-26 17:49:20 +0100
commit0ee0edc885ebb735ec312ecea585cfd305de0f96 (patch)
treeb6b8fca4cef6ccbcb4bd00132651932ca2b610fe
parent70eb9c725bcb05d3dfccf855cc73bf178ee0adc7 (diff)
parentad23e13c246d2fab0af0cb43a76997b50454e03e (diff)
Merge remote-tracking branch 'ikiwiki/plaintitle-da'
-rw-r--r--.gitignore1
-rw-r--r--Makefile3
2 files changed, 4 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 7c191a6..5f6f3a9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,5 +2,6 @@
/build/
/content/
/styling/
+/forms/
/config/ikiwiki*.setup
/.ikiwiki*/
diff --git a/Makefile b/Makefile
index 1f0366d..acf4f4f 100644
--- a/Makefile
+++ b/Makefile
@@ -49,5 +49,8 @@ content:
build:
$(if $(cssprojects),$(MAKE) $(cssprojects))
$(foreach config,$(shell find config -name '*.setup'),ikiwiki --setup $(config)$(avoid-broken-git)$(if $(always-make), --rebuild, --refresh);)
+ $(if $(wildcard forms),cd forms && find * -name '*.cgi' \
+ -exec install -DT '{}' ../build/forms/'{}' ';' \
+ -exec perl -i -pe "s:'../build':'$(CURDIR)':g" ../build/forms/'{}' ';')
.PHONY: all build configfiles