diff options
Diffstat (limited to 'Makefile')
-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;\ |