X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=Makefile.am;h=2ab7995025245aca356f3b886206b7bc6bd52691;hb=23e3c5880901f5d744f88d1c5cd5397b5640868d;hp=dc0c99fbe902b97e7ee5e48759143c2bb6939e19;hpb=134dc482d24c90ec050a953197391254f28c761c;p=elogind.git diff --git a/Makefile.am b/Makefile.am index dc0c99fbe..2ab799502 100644 --- a/Makefile.am +++ b/Makefile.am @@ -159,6 +159,13 @@ dist_systemunit_DATA += \ units/fedora/sysinit.service endif +if TARGET_SUSE +dist_systemunit_DATA += \ + units/suse/halt.service \ + units/suse/poweroff.service \ + units/suse/reboot.service +endif + if TARGET_GENTOO dist_systemunit_DATA += \ units/gentoo/halt.service \ @@ -361,11 +368,10 @@ systemadm_LDADD = $(DBUSGLIB_LIBS) $(GTK_LIBS) SED_PROCESS = \ $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ - $(SED) -e 's,@libexecdir\@,$(libexecdir),g' \ - -e 's,@pkglibexecdir\@,$(pkglibexecdir),g' \ + $(SED) -e 's,@rootlibexecdir\@,$(rootlibexecdir),g' \ -e 's,@SPECIAL_SYSLOG_SERVICE\@,$(SPECIAL_SYSLOG_SERVICE),g' \ -e 's,@SPECIAL_DBUS_SERVICE\@,$(SPECIAL_DBUS_SERVICE),g' \ - -e 's,@SYSTEMCTL\@,$(bindir)/systemctl,g' \ + -e 's,@SYSTEMCTL\@,$(rootbindir)/systemctl,g' \ < $< > $@ units/%: units/%.in Makefile