summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-04-11 20:40:34 +0200
committerJonas Smedegaard <dr@jones.dk>2017-04-11 20:40:34 +0200
commit1f3775b3e3af22219222b895e12b15c63beddf41 (patch)
tree9c88a816b3d0d8e2310e974ad5534ad9d556cc08 /Makefile
parent2fa8c1dee662666f35e1328ebf6400045e3226d6 (diff)
Fix unconditionally update front page form template.HEADmaster
Diffstat (limited to 'Makefile')
-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