trivial: fix make distcheck

This commit is contained in:
Richard Hughes 2008-10-24 12:12:11 +01:00
parent a1a4304b4e
commit b89232867c
2 changed files with 10 additions and 11 deletions

View file

@ -1,8 +1,8 @@
dnl Process this file with autoconf to produce a configure script. dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59c) AC_PREREQ(2.59c)
AC_INIT(DeviceKit-power, 001, david@fubar.dk) AC_INIT(DeviceKit-power, 001, richard@hughsie.com)
AM_INIT_AUTOMAKE(DeviceKit-power, 001) AM_INIT_AUTOMAKE(DeviceKit-power, 002)
AM_CONFIG_HEADER(config.h) AM_CONFIG_HEADER(config.h)
AM_MAINTAINER_MODE AM_MAINTAINER_MODE

View file

@ -1,17 +1,16 @@
polkit_policydir = $(datadir)/PolicyKit/policy
dist_polkit_policy_DATA = org.freedesktop.devicekit.power.policy
devkit_policydir = $(datadir)/PolicyKit/policy # You will need a recent intltool or the patch from this bug
# http://bugzilla.gnome.org/show_bug.cgi?id=462312
dist_devkit_policy_DATA = \
org.freedesktop.devicekit.power.policy
@INTLTOOL_POLICY_RULE@ @INTLTOOL_POLICY_RULE@
check: 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 : clean-local :
rm -f *~ rm -f *~
DISTCLEANFILES = $(dist_devkit_policy_DATA)
EXTRA_DIST = $(dist_devkit_policy_DATA:.policy=.policy.in)