summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index defa10c..1b9f859 100644
--- a/Makefile
+++ b/Makefile
@@ -60,7 +60,7 @@ build:
install -DT 'forms/$(path)' '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;)\
+ cp -f $(htmlstempath).html $(htmlstempath).tmpl;\
FORMBUILDER_NOHEADER=1 'build/forms/$(path)' > $(htmlstempath).html))
.PHONY: all build configfiles