summaryrefslogtreecommitdiff
path: root/policy
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2008-10-24 12:12:11 +0100
committerRichard Hughes <richard@hughsie.com>2008-10-24 12:12:11 +0100
commitb89232867c83d3ec5b64af50f74e8ddce9e46e3d (patch)
tree561e202bb5332593b6b09d88026cd161ff9cd8ca /policy
parenta1a4304b4e17803c5b919520e846dd019725c0aa (diff)
trivial: fix make distcheck
Diffstat (limited to 'policy')
-rw-r--r--policy/Makefile.am17
1 files changed, 8 insertions, 9 deletions
diff --git a/policy/Makefile.am b/policy/Makefile.am
index e03f095..9db887a 100644
--- a/policy/Makefile.am
+++ b/policy/Makefile.am
@@ -1,17 +1,16 @@
+polkit_policydir = $(datadir)/PolicyKit/policy
+dist_polkit_policy_DATA = org.freedesktop.devicekit.power.policy
-devkit_policydir = $(datadir)/PolicyKit/policy
-
-dist_devkit_policy_DATA = \
- org.freedesktop.devicekit.power.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 $(dist_devkit_policy_DATA)
+ polkit-policy-file-validate $(top_srcdir)/policy/$(dist_polkit_policy_DATA)
+
+EXTRA_DIST = org.freedesktop.devicekit.power.policy.in
+DISTCLEANFILES = org.freedesktop.devicekit.power.policy
clean-local :
rm -f *~
-DISTCLEANFILES = $(dist_devkit_policy_DATA)
-
-EXTRA_DIST = $(dist_devkit_policy_DATA:.policy=.policy.in)