From e5a787efca20e0723a8fa2ab0508a36eea6ea22f Mon Sep 17 00:00:00 2001 From: "Mounir Lamouri (volkmar)" Date: Sat, 8 Aug 2009 13:45:53 +0200 Subject: [PATCH] fix: do not care about policy file if not using polkit --- policy/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/policy/Makefile.am b/policy/Makefile.am index 9f0ab3c1d..723268d70 100644 --- a/policy/Makefile.am +++ b/policy/Makefile.am @@ -1,6 +1,7 @@ NULL = +if SECURITY_TYPE_POLKIT polkit_policydir = $(datadir)/polkit-1/actions dist_polkit_policy_DATA = \ org.freedesktop.packagekit.policy \ @@ -12,6 +13,7 @@ dist_polkit_policy_DATA = \ EXTRA_DIST = org.freedesktop.packagekit.policy.in DISTCLEANFILES = org.freedesktop.packagekit.policy +endif clean-local : rm -f *~