summary refs log tree commit diff
path: root/nix
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-12-20 15:13:42 +0100
committerLudovic Courtès <ludo@gnu.org>2016-12-20 15:14:40 +0100
commitb20644ed18b5ef33efa3c127fed2eb6b18955987 (patch)
treefbc0d44d4444efdc6b327f05d115796e45e5d2ab /nix
parent4cb7786eff9b9188169ed2c2e5af53903962e7d1 (diff)
downloadguix-b20644ed18b5ef33efa3c127fed2eb6b18955987.tar.gz
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).
Diffstat (limited to 'nix')
-rw-r--r--nix/local.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/nix/local.mk b/nix/local.mk
index ab8e798d7e..eb70d266fb 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	\
 	       "$<" > "$@.tmp";		\
 	mv "$@.tmp" "$@"
 
+CLEANFILES +=					\
+  $(nodist_systemdservice_DATA)			\
+  $(nodist_upstartjob_DATA)
+
 EXTRA_DIST +=					\
   %D%/libstore/schema.sql			\
   %D%/AUTHORS					\