summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-08-06 01:30:20 +0200
committerLennart Poettering <lennart@poettering.net>2010-08-06 01:30:20 +0200
commit922cc0011979f8eda0f8b07f76bca744f50f0e31 (patch)
treeccba805c2b34b51b3f4b35aff43bf68c62942b2a /Makefile.am
parent0ff4cdd967246bbc44f66470c2e96b403ee77aed (diff)
units: split fsck.target from sysinit.target for suse compat
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index bebfd2f737..3c54043975 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -195,7 +195,8 @@ if TARGET_SUSE
dist_systemunit_DATA += \
units/suse/halt.service \
units/suse/poweroff.service \
- units/suse/reboot.service
+ units/suse/reboot.service \
+ units/suse/fsck.target
endif
if TARGET_GENTOO
@@ -787,6 +788,11 @@ if TARGET_GENTOO
rm -f xdm.service && \
$(LN_S) $(systemunitdir)/xdm.service xdm.service )
endif
+if !TARGET_SUSE
+ ( cd $(DESTDIR)$(systemunitdir) && \
+ rm -f fsck.target && \
+ $(LN_S) sysinit.target fsck.target )
+endif
DISTCHECK_CONFIGURE_FLAGS = \
--with-dbuspolicydir=$$dc_install_base/$(dbuspolicydir) \