summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--po/POTFILES.in3
-rw-r--r--policy/Makefile.am16
2 files changed, 14 insertions, 5 deletions
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 886fe55..6add251 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -2,6 +2,7 @@
# Please keep this file sorted alphabetically.
[encoding: UTF-8]
policy/org.freedesktop.devicekit.power.policy.in
-src/main.c
+policy/org.freedesktop.devicekit.power.qos.policy.in
+src/dkp-main.c
tools/dkp-tool.c
diff --git a/policy/Makefile.am b/policy/Makefile.am
index cbcd4c9..041aae2 100644
--- a/policy/Makefile.am
+++ b/policy/Makefile.am
@@ -1,15 +1,23 @@
polkit_policydir = $(datadir)/PolicyKit/policy
-dist_polkit_policy_DATA = org.freedesktop.devicekit.power.policy org.freedesktop.devicekit.power.qos.policy
+polkit_policy_DATA = \
+ org.freedesktop.devicekit.power.policy \
+ org.freedesktop.devicekit.power.qos.policy
# You will need a recent intltool or the patch from this bug
# http://bugzilla.gnome.org/show_bug.cgi?id=462312
@INTLTOOL_POLICY_RULE@
check:
- polkit-policy-file-validate $(top_srcdir)/policy/$(dist_polkit_policy_DATA)
+ polkit-policy-file-validate $(top_builddir)/policy/org.freedesktop.devicekit.power.policy
+ polkit-policy-file-validate $(top_builddir)/policy/org.freedesktop.devicekit.power.qos.policy
-EXTRA_DIST = org.freedesktop.devicekit.power.policy.in
-DISTCLEANFILES = org.freedesktop.devicekit.power.policy
+EXTRA_DIST = \
+ org.freedesktop.devicekit.power.policy.in \
+ org.freedesktop.devicekit.power.qos.policy.in
+
+DISTCLEANFILES = \
+ org.freedesktop.devicekit.power.policy \
+ org.freedesktop.devicekit.power.qos.policy
clean-local :
rm -f *~