about summary refs log tree commit diff
path: root/mk/templates.mk
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-08-20T16·44+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-08-20T16·44+0200
commitc93690a68abdc6e39f2790d7960420bba46da555 (patch)
tree7b6456adc44fbaa05e5be8817b751c144cd2a19e /mk/templates.mk
parentf0610e28e8d4da86b90d10bfb85bbfc72219cf28 (diff)
parent2aa93858afee22e0c32d8f4366970976374091ac (diff)
Merge commit '2aa93858afee22e0c32d8f4366970976374091ac'
Diffstat (limited to 'mk/templates.mk')
-rw-r--r--mk/templates.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/templates.mk b/mk/templates.mk
index 8e8b28643f5c..ab99168bb7a5 100644
--- a/mk/templates.mk
+++ b/mk/templates.mk
@@ -8,5 +8,8 @@ define instantiate-template
 
 endef
 
+%.h: %.h.in
+	$(trace-gen) rm -f $@ && ./config.status --quiet --header=$@
+
 %: %.in
-	$(trace-gen) ./config.status --quiet --file $@
+	$(trace-gen) rm -f $@ && ./config.status --quiet --file=$@