jmd pushed a commit to branch wip-installer
in repository guix.

commit b270c7ea6a7f70890b5f34b0ccd952afc70ffeec
Author: Ludovic Courtès <[email protected]>
Date:   Tue Dec 20 15:13:42 2016 +0100

    build: Delete all the .service and .conf files upon 'make clean'.
    
    * nix/local.mk (CLEANFILES): Define to add $(nodist_systemdservice_DATA)
    and $(nodist_upstartjob_DATA).
---
 nix/local.mk |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/nix/local.mk b/nix/local.mk
index ab8e798..eb70d26 100644
--- a/nix/local.mk
+++ b/nix/local.mk
@@ -22,7 +22,7 @@
 #
 
 BUILT_SOURCES += %D%/libstore/schema.sql.hh
-CLEANFILES += $(BUILT_SOURCES) etc/guix-daemon.service etc/guix-daemon.conf
+CLEANFILES += $(BUILT_SOURCES)
 
 noinst_LIBRARIES = libformat.a libutil.a libstore.a
 
@@ -205,6 +205,10 @@ etc/guix-%.conf: etc/guix-%.conf.in        \
               "$<" > "[email protected]";         \
        mv "[email protected]" "$@"
 
+CLEANFILES +=                                  \
+  $(nodist_systemdservice_DATA)                        \
+  $(nodist_upstartjob_DATA)
+
 EXTRA_DIST +=                                  \
   %D%/libstore/schema.sql                      \
   %D%/AUTHORS                                  \

Reply via email to