summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-04-05 20:28:22 +0200
committerJonas Smedegaard <dr@jones.dk>2017-04-05 20:28:22 +0200
commitd6247a7a42eba820d4f5a3af22fff490c2dc8bf3 (patch)
tree2098cae0ba3f32fd7b04cf233f3cdc63ffc0d3e6 /Makefile
parente13e7ae2bf9ae571d02a64c4b6dd5eca646e39e4 (diff)
Adjust form tweaking regex.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 59c7274..9cb0aa6 100644
--- a/Makefile
+++ b/Makefile
@@ -58,7 +58,7 @@ build:
set -e;\
$(foreach path,$(patsubst forms/%,%,$(wildcard forms/*.cgi forms/*/*.cgi)),\
install -DT 'forms/$(path)' 'build/forms/$(path)'; \
- perl -i -pe "s:'../build':'$(CURDIR)/build':g" 'build/forms/$(path)';\
+ perl -i -pe "s:'../build/:'$(CURDIR)/build/:g" 'build/forms/$(path)';\
$(foreach htmlstempath,$(path:%.cgi=build/html/%),\
$(if $(wildcard $(htmlstempath).tmpl),,cp $(htmlstempath).html $(htmlstempath).tmpl;)\
'build/forms/$(path)' > $(htmlstempath).html))