chiark / gitweb /
units: Provide separate fsck.target for Debian
[elogind.git] / Makefile.am
index ee8ff4028c08c8d3e4179f63549b6e5594339484..944b8718ab051b60fe1ccf97cbc32b2090d6507e 100644 (file)
@@ -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) \