civodul pushed a commit to tag 1.8
in repository guix.

commit afbdd5533448724aaf32b434fda8478ad5d80a0f
Author: Eelco Dolstra <[email protected]>
Date:   Fri Sep 5 12:08:06 2014 +0200

    Hack to prevent Makefile.config from being regenerated by "make clean"
---
 templates.mk |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/templates.mk b/templates.mk
index ab99168..c7ac7af 100644
--- a/templates.mk
+++ b/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

Reply via email to