chiark / gitweb /
unit: add simple only-by-dependency flag for units
[elogind.git] / Makefile.am
index 8f0fdaab2e96df733c1547eb3252eb15ad4c6394..8313e57ff7b40060eedc261ffcb0ca6b58ee313e 100644 (file)
@@ -102,6 +102,9 @@ systemunit_DATA = \
        units/systemd-logger.service \
        units/syslog.target
 
+dist_sessionunit_DATA = \
+       units/session/default.target
+
 sessionunit_DATA = \
        units/session/remote-fs.target
 
@@ -129,6 +132,15 @@ dist_systemunit_DATA += \
        units/fedora/sysinit.service
 endif
 
+if TARGET_GENTOO
+dist_systemunit_DATA += \
+       units/gentoo/halt.service \
+       units/gentoo/killall.service \
+       units/gentoo/poweroff.service \
+       units/gentoo/reboot.service \
+       units/gentoo/xdm.service
+endif
+
 # This is needed because automake is buggy in how it generates the
 # rules for C programs, but not Vala programs.  We therefore can't
 # list the .h files as dependencies if we want make dist to work.