X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=Makefile.am;h=b6cae4109b5a0b8eda1fbcc2d7c37d6f03517065;hb=858dae181bb5461201ac1c04732d3ef4c67a0256;hp=77d1fc938ffcf3f2d4cfa6a2e917d1e5e9a99f3b;hpb=306a7fd82e790b3c00ba5cf806ccd6c0108061b5;p=elogind.git diff --git a/Makefile.am b/Makefile.am index 77d1fc938..b6cae4109 100644 --- a/Makefile.am +++ b/Makefile.am @@ -303,7 +303,7 @@ dist_systemunit_DATA += \ units/fedora/plymouth-halt.service endif -if TARGET_DEBIAN +if TARGET_DEBIAN_OR_UBUNTU dist_systemunit_DATA += \ units/debian/fsck.target \ units/debian/umountfs.service \ @@ -1218,7 +1218,7 @@ if TARGET_GENTOO rm -f xdm.service && \ $(LN_S) $(systemunitdir)/xdm.service xdm.service ) endif -if TARGET_DEBIAN +if TARGET_DEBIAN_OR_UBUNTU $(MKDIR_P) -m 0755 \ $(DESTDIR)$(systemunitdir)/umount.target.wants ( cd $(DESTDIR)$(systemunitdir)/umount.target.wants && \ @@ -1232,11 +1232,13 @@ if TARGET_DEBIAN endif if !TARGET_SUSE if !TARGET_DEBIAN +if !TARGET_UBUNTU ( cd $(DESTDIR)$(systemunitdir) && \ rm -f fsck.target && \ $(LN_S) sysinit.target fsck.target ) endif endif +endif DISTCHECK_CONFIGURE_FLAGS = \ --with-dbuspolicydir=$$dc_install_base/$(dbuspolicydir) \