summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index ee8ff4028c..944b8718ab 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -235,7 +235,8 @@ dist_systemunit_DATA += \
units/debian/halt.service \
units/debian/killall.service \
units/debian/poweroff.service \
- units/debian/reboot.service
+ units/debian/reboot.service \
+ units/debian/fsck.target
endif
if TARGET_SUSE
@@ -961,10 +962,12 @@ if TARGET_GENTOO
$(LN_S) $(systemunitdir)/xdm.service xdm.service )
endif
if !TARGET_SUSE
+if !TARGET_DEBIAN
( cd $(DESTDIR)$(systemunitdir) && \
rm -f fsck.target && \
$(LN_S) sysinit.target fsck.target )
endif
+endif
DISTCHECK_CONFIGURE_FLAGS = \
--with-dbuspolicydir=$$dc_install_base/$(dbuspolicydir) \