about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--templates.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates.mk b/templates.mk
index 84364297b359..ab99168bb7a5 100644
--- a/templates.mk
+++ b/templates.mk
@@ -9,7 +9,7 @@ define instantiate-template
 endef
 
 %.h: %.h.in
-	$(trace-gen) ./config.status --quiet --header=$@
+	$(trace-gen) rm -f $@ && ./config.status --quiet --header=$@
 
 %: %.in
-	$(trace-gen) ./config.status --quiet --file=$@
+	$(trace-gen) rm -f $@ && ./config.status --quiet --file=$@