about summary refs log tree commit diff
path: root/mk/templates.mk
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-12-14T00·47+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-12-14T00·47+0100
commit14955c297de82e964ea5bf44f8aaf543d4cae33a (patch)
tree264740d66d805dbbb82c03146830a2a022569d88 /mk/templates.mk
parent68b47178730a95871eba4aa4df19a845c8e5a947 (diff)
parent36c67860363c93eb00cf5b8e2ad34f6f775e6901 (diff)
Merge commit '36c67860363c93eb00cf5b8e2ad34f6f775e6901'
Diffstat (limited to 'mk/templates.mk')
-rw-r--r--mk/templates.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/mk/templates.mk b/mk/templates.mk
index ab99168bb7a5..c7ac7afbff27 100644
--- a/mk/templates.mk
+++ b/mk/templates.mk
@@ -8,8 +8,12 @@ define instantiate-template
 
 endef
 
+ifneq ($(MAKECMDGOALS), clean)
+
 %.h: %.h.in
 	$(trace-gen) rm -f $@ && ./config.status --quiet --header=$@
 
 %: %.in
 	$(trace-gen) rm -f $@ && ./config.status --quiet --file=$@
+
+endif