diff options
author | Jonas Smedegaard <dr@jones.dk> | 2021-03-29 14:24:16 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2021-03-29 14:36:13 +0200 |
commit | 0ebe1db1758437b0a1ebd3d8393cc52821db60ff (patch) | |
tree | 11415c7287816d112cee68ca7cf4704730066f3a | |
parent | fabbce549bd3233d392869786d02771ca948f7b1 (diff) |
fix build forms
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -61,8 +61,8 @@ 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)';\ - $(foreach htmlstempath,$(path:%.cgi=build/html/%),\ + perl -i -pe "s:'../build:'$(CURDIR)/build:g" 'build/forms/$(path)';\ + $(foreach htmlstempath,$(path:%.cgi=build/html/%/index),\ cp -f $(htmlstempath).html $(htmlstempath).tmpl;\ FORMBUILDER_NOHEADER=1 'build/forms/$(path)' > $(htmlstempath).html~;\ mv -f $(htmlstempath).html~ $(htmlstempath).html;\ |