[systemd-devel] [PATCH 3/1] build-sys: put all BUILT_SOURCES in CLEANFILES

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Tue Jul 17 10:08:03 PDT 2012


Since currently all items in BUILT_SOURCES are also in CLEANFILES,
we can reduce clutter by appending BUILT_SOURCES directly.
---
 Makefile.am | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git Makefile.am Makefile.am
index e0b8c86..b5fc491 100644
--- Makefile.am
+++ Makefile.am
@@ -82,7 +82,7 @@ rootprefix=@rootprefix@
 rootbindir=$(rootprefix)/bin
 rootlibexecdir=$(rootprefix)/lib/systemd
 
-CLEANFILES =
+CLEANFILES = BUILT_SOURCES
 EXTRA_DIST =
 BUILT_SOURCES =
 INSTALL_EXEC_HOOKS =
@@ -1011,9 +1011,7 @@ CLEANFILES += \
 	src/core/load-fragment-gperf.c \
 	src/core/load-fragment-gperf-nulstr.c \
 	src/core/syscall-list.txt \
-	src/core/syscall-from-name.gperf \
-	src/core/syscall-from-name.h \
-	src/core/syscall-to-name.h
+	src/core/syscall-from-name.gperf
 
 BUILT_SOURCES += \
 	src/core/syscall-from-name.h \
@@ -1996,9 +1994,6 @@ EXTRA_DIST += \
 	src/gudev/seed-example-enum.js \
 	src/gudev/seed-example.js
 
-CLEANFILES += \
-	$(nodist_libgudev_1_0_la_SOURCES)
-
 src/gudev/gudevmarshal.h: src/gudev/gudevmarshal.list
 	$(AM_V_GEN)glib-genmarshal $< --prefix=g_udev_marshal --header > $@
 
@@ -2119,7 +2114,6 @@ EXTRA_DIST += \
 	src/udev/keymap/keyboard-force-release.sh.in
 
 CLEANFILES += \
-	$(nodist_keymap_SOURCES) \
 	src/udev/keymap/keys.txt \
 	src/udev/keymap/keys-from-name.gperf \
 	src/udev/keymap/keyboard-force-release.sh
-- 
1.7.11.1.282.g511ba53



More information about the systemd-devel mailing list