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).
This commit is contained in:
Ludovic Courtès 2016-12-20 15:13:42 +01:00 committed by Ricardo Wurmus
parent cccbc63950
commit a81771f137
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC

View File

@ -22,7 +22,7 @@
# #
BUILT_SOURCES += %D%/libstore/schema.sql.hh 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 noinst_LIBRARIES = libformat.a libutil.a libstore.a
@ -205,6 +205,10 @@ etc/guix-%.conf: etc/guix-%.conf.in \
"$<" > "$@.tmp"; \ "$<" > "$@.tmp"; \
mv "$@.tmp" "$@" mv "$@.tmp" "$@"
CLEANFILES += \
$(nodist_systemdservice_DATA) \
$(nodist_upstartjob_DATA)
EXTRA_DIST += \ EXTRA_DIST += \
%D%/libstore/schema.sql \ %D%/libstore/schema.sql \
%D%/AUTHORS \ %D%/AUTHORS \