guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

175/376: Hack to prevent Makefile.config from being regenerated by "make


From: Ludovic Courtès
Subject: 175/376: Hack to prevent Makefile.config from being regenerated by "make clean"
Date: Wed, 28 Jan 2015 22:04:50 +0000

civodul pushed a commit to tag 1.8
in repository guix.

commit afbdd5533448724aaf32b434fda8478ad5d80a0f
Author: Eelco Dolstra <address@hidden>
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

[Prev in Thread] Current Thread [Next in Thread]