X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=Makefile.am;h=872bcc255c69177c48d8ac42a833aa8ff0a11060;hp=7120636d9f369e415015c19bf064a99dd54e2e3b;hb=46824d0e6b2aae8f503464368d02c1da992f56f1;hpb=a8f11321c209830a35edd0357e8def5d4437d854 diff --git a/Makefile.am b/Makefile.am index 7120636d9..872bcc255 100644 --- a/Makefile.am +++ b/Makefile.am @@ -339,7 +339,8 @@ EXTRA_DIST = \ units/fsck-root.service.in \ units/quotacheck.service.in \ systemd.pc.in \ - introspect.awk + introspect.awk \ + src/org.freedesktop.systemd1.policy.in if TARGET_FEDORA dist_systemunit_DATA += \ @@ -386,7 +387,7 @@ dist_doc_DATA = \ pkgconfigdata_DATA = \ systemd.pc -dist_polkitpolicy_DATA = \ +polkitpolicy_DATA = \ src/org.freedesktop.systemd1.policy noinst_LTLIBRARIES = \ @@ -1069,6 +1070,7 @@ SED_PROCESS = \ $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ $(SED) -e 's,@rootlibexecdir\@,$(rootlibexecdir),g' \ -e 's,@rootbindir\@,$(rootbindir),g' \ + -e 's,@bindir\@,$(bindir),g' \ -e 's,@SPECIAL_SYSLOG_SERVICE\@,$(SPECIAL_SYSLOG_SERVICE),g' \ -e 's,@SYSTEMCTL\@,$(rootbindir)/systemctl,g' \ -e 's,@SYSTEMD_NOTIFY\@,$(rootbindir)/systemd-notify,g' \ @@ -1090,6 +1092,9 @@ man/%: man/%.in Makefile %.pc: %.pc.in Makefile $(SED_PROCESS) +src/%.policy: src/%.policy.in Makefile + $(SED_PROCESS) + M4_PROCESS_SYSTEM = \ $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ $(M4) -P $(M4_DISTRO_FLAG) -DFOR_SYSTEM=1 < $< > $@ || rm $@ @@ -1109,7 +1114,8 @@ CLEANFILES = \ $(nodist_userunit_DATA) \ $(nodist_man_MANS) \ ${XML_IN_FILES:.xml.in=.html} \ - $(pkgconfigdata_DATA) + $(pkgconfigdata_DATA) \ + src/org.freedesktop.systemd1.policy if HAVE_VALAC CLEANFILES += \