diff options
author | Jonas Smedegaard <dr@jones.dk> | 2017-04-05 20:28:22 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2017-04-05 20:28:22 +0200 |
commit | d6247a7a42eba820d4f5a3af22fff490c2dc8bf3 (patch) | |
tree | 2098cae0ba3f32fd7b04cf233f3cdc63ffc0d3e6 | |
parent | e13e7ae2bf9ae571d02a64c4b6dd5eca646e39e4 (diff) |
Adjust form tweaking regex.
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)) |