]> err.no Git - systemd/commitdiff
build-sys: fix make distcheck
authorLennart Poettering <lennart@poettering.net>
Mon, 11 Jul 2011 23:11:27 +0000 (01:11 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 11 Jul 2011 23:11:40 +0000 (01:11 +0200)
Makefile.am
po/POTFILES.skip [new file with mode: 0644]
src/.gitignore
src/org.freedesktop.systemd1.policy.in.in [moved from src/org.freedesktop.systemd1.policy.in with 79% similarity]

index 96e8838669e8b8cb3310180e6a28430bc6c19286..e5eeda393ff9109448f89e84e4122d6582b61d36 100644 (file)
@@ -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 (file)
index 0000000..192f3b6
--- /dev/null
@@ -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
index de3bb5f10019d230607a5f554d8c37025d776bf0..8832dd6d3fff2220184ed8211b6c1f25c33ff015 100644 (file)
@@ -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
similarity index 79%
rename from src/org.freedesktop.systemd1.policy.in
rename to src/org.freedesktop.systemd1.policy.in.in
index 52a28d40ea0ea0b1b82a0a71255564ca8ae95fec..1771314e0942d0b978e43cfdc1fe429afc0c0f76 100644 (file)
@@ -17,8 +17,8 @@
         <vendor_url>http://www.freedesktop.org/wiki/Software/systemd</vendor_url>
 
         <action id="org.freedesktop.systemd1.reply-password">
-                <description>Send passphrase back to system</description>
-                <message>Authentication is required to send the entered passphrase back to the system.</message>
+                <_description>Send passphrase back to system</_description>
+                <_message>Authentication is required to send the entered passphrase back to the system.</_message>
                 <defaults>
                         <allow_any>no</allow_any>
                         <allow_inactive>no</allow_inactive>
@@ -28,8 +28,8 @@
         </action>
 
         <action id="org.freedesktop.systemd1.bus-access">
-                <description>Privileged system and service manager access</description>
-                <message>Authentication is required to access the system and service manager.</message>
+                <_description>Privileged system and service manager access</_description>
+                <_message>Authentication is required to access the system and service manager.</_message>
                 <defaults>
                         <allow_any>no</allow_any>
                         <allow_inactive>no</allow_inactive>