summaryrefslogtreecommitdiff
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
parenta1a4304b4e17803c5b919520e846dd019725c0aa (diff)
trivial: fix make distcheck
-rw-r--r--configure.ac4
-rw-r--r--policy/Makefile.am17
2 files changed, 10 insertions, 11 deletions
diff --git a/configure.ac b/configure.ac
index 1b5ac8d..e93feaf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,8 +1,8 @@
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59c)
-AC_INIT(DeviceKit-power, 001, david@fubar.dk)
-AM_INIT_AUTOMAKE(DeviceKit-power, 001)
+AC_INIT(DeviceKit-power, 001, richard@hughsie.com)
+AM_INIT_AUTOMAKE(DeviceKit-power, 002)
AM_CONFIG_HEADER(config.h)
AM_MAINTAINER_MODE
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)