From: Lennart Poettering Date: Mon, 11 Jul 2011 23:11:27 +0000 (+0200) Subject: build-sys: fix make distcheck X-Git-Tag: v30~23 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9356a6c656357fe67b310cbbb270c6ccd1048e82;p=systemd build-sys: fix make distcheck --- diff --git a/Makefile.am b/Makefile.am index 96e88386..e5eeda39 100644 --- a/Makefile.am +++ b/Makefile.am @@ -411,7 +411,6 @@ EXTRA_DIST = \ units/user@.service.in \ systemd.pc.in \ introspect.awk \ - src/org.freedesktop.systemd1.policy.in \ src/73-seat-late.rules.in if ENABLE_BINFMT @@ -475,17 +474,26 @@ dist_doc_DATA = \ pkgconfigdata_DATA = \ systemd.pc -nodist_polkitpolicy_DATA = \ - src/org.freedesktop.systemd1.policy - -dist_polkitpolicy_in_files = \ +# Passed through intltool only +polkitpolicy_in_files = \ src/org.freedesktop.hostname1.policy.in \ src/org.freedesktop.locale1.policy.in \ src/org.freedesktop.timedate1.policy.in \ src/org.freedesktop.login1.policy.in +# First passed through sed, followed by intltool +polkitpolicy_in_in_files = \ + src/org.freedesktop.systemd1.policy.in.in + +nodist_polkitpolicy_DATA = \ + $(polkitpolicy_in_files:.policy.in=.policy) \ + $(polkitpolicy_in_files:.policy.in.in=.policy) + +EXTRA_DIST += \ + $(polkitpolicy_in_files) \ + $(polkitpolicy_in_in_files) + @INTLTOOL_POLICY_RULE@ -polkitpolicy_DATA = $(dist_polkitpolicy_in_files:.policy.in=.policy) noinst_LTLIBRARIES = \ libsystemd-basic.la \ @@ -1357,7 +1365,7 @@ man/%: man/%.in Makefile %.pc: %.pc.in Makefile $(SED_PROCESS) -src/%.policy: src/%.policy.in Makefile +src/%.policy.in: src/%.policy.in.in Makefile $(SED_PROCESS) src/%.rules: src/%.rules.in Makefile @@ -1383,8 +1391,8 @@ CLEANFILES = \ $(nodist_man_MANS) \ ${XML_IN_FILES:.xml.in=.html} \ $(pkgconfigdata_DATA) \ - $(polkitpolicy_DATA) \ - src/org.freedesktop.systemd1.policy + $(nodist_polkitpolicy_DATA) \ + src/73-seat-late.rules if HAVE_VALAC CLEANFILES += \ diff --git a/po/POTFILES.skip b/po/POTFILES.skip new file mode 100644 index 00000000..192f3b6c --- /dev/null +++ b/po/POTFILES.skip @@ -0,0 +1,19 @@ +src/dbus-automount.c +src/dbus-device.c +src/dbus-job.c +src/dbus-manager.c +src/dbus-mount.c +src/dbus-path.c +src/dbus-service.c +src/dbus-snapshot.c +src/dbus-socket.c +src/dbus-swap.c +src/dbus-target.c +src/dbus-timer.c +src/dbus-unit.c +src/hostnamed.c +src/localed.c +src/org.freedesktop.systemd1.policy.in.in +src/timedated.c +units/systemd-readahead-done.service.in +units/user@.service.in diff --git a/src/.gitignore b/src/.gitignore index de3bb5f1..8832dd6d 100644 --- a/src/.gitignore +++ b/src/.gitignore @@ -1,3 +1,7 @@ +org.freedesktop.hostname1.policy +org.freedesktop.locale1.policy +org.freedesktop.login1.policy +org.freedesktop.timedate1.policy org.freedesktop.systemd1.policy gnome-ask-password-agent.c systemd-interfaces.c diff --git a/src/org.freedesktop.systemd1.policy.in b/src/org.freedesktop.systemd1.policy.in.in similarity index 79% rename from src/org.freedesktop.systemd1.policy.in rename to src/org.freedesktop.systemd1.policy.in.in index 52a28d40..1771314e 100644 --- a/src/org.freedesktop.systemd1.policy.in +++ b/src/org.freedesktop.systemd1.policy.in.in @@ -17,8 +17,8 @@ http://www.freedesktop.org/wiki/Software/systemd - Send passphrase back to system - Authentication is required to send the entered passphrase back to the system. + <_description>Send passphrase back to system + <_message>Authentication is required to send the entered passphrase back to the system. no no @@ -28,8 +28,8 @@ - Privileged system and service manager access - Authentication is required to access the system and service manager. + <_description>Privileged system and service manager access + <_message>Authentication is required to access the system and service manager. no no