[systemd-devel] [PATCH] units: move machines.target to dist_systemunit_DATA

Filipe Brandenburger filbranden at google.com
Mon Dec 29 15:22:48 PST 2014


Move units/machines.target from nodist_systemunit_DATA to dist_systemunit_DATA,
since it's not a generated file. Otherwise, `make clean` would remove the
committed copy of the file.

Tested that `./autogen.sh c` will not remove it and that `make distcheck` works
after this fix.
---
 Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 8cdf1db..c12f2f6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -506,6 +506,7 @@ dist_systemunit_DATA = \
 	units/systemd-udevd-control.socket \
 	units/systemd-udevd-kernel.socket \
 	units/system-update.target \
+	units/machines.target \
 	units/initrd-switch-root.target
 
 if ENABLE_KDBUS
@@ -549,7 +550,6 @@ nodist_systemunit_DATA = \
 	units/initrd-udevadm-cleanup-db.service \
 	units/initrd-switch-root.service \
 	units/systemd-nspawn at .service \
-	units/machines.target \
 	units/systemd-update-done.service
 
 if HAVE_UTMP
-- 
1.8.3.1



More information about the systemd-devel mailing list