[systemd-devel] [PATCH v2] Makefile.am : Fix build issue with machines.target

Philippe De Swert philippedeswert at gmail.com
Wed Dec 31 08:02:12 PST 2014


When doing "make clean" the unit/machines.target file gets deleted.
This causes a build error later on when trying to rebuild systemd.
V2: The file probably belongs to dist_systemunit_DATA
---
 Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 28d2e4b..5f80306 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -506,7 +506,8 @@ dist_systemunit_DATA = \
 	units/systemd-udevd-control.socket \
 	units/systemd-udevd-kernel.socket \
 	units/system-update.target \
-	units/initrd-switch-root.target
+	units/initrd-switch-root.target \
+	units/machines.target
 
 if ENABLE_KDBUS
 dist_systemunit_DATA += \
@@ -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
-- 
2.1.4



More information about the systemd-devel mailing list