43ff24c
From 33def81ef9cbfd7827e5239c1389c571db600f98 Mon Sep 17 00:00:00 2001
43ff24c
From: Mike Gilbert <floppym@gentoo.org>
43ff24c
Date: Fri, 4 Jul 2014 14:43:14 -0400
43ff24c
Subject: [PATCH] Revert "build-sys: include PolicyKit files as part of
43ff24c
 distribution"
43ff24c
43ff24c
This reverts commit 0c26bfc3d21fdb3963f1248c237e2f1a33b5566d.
43ff24c
43ff24c
src/core/org.freedesktop.systemd1.policy.in.in depends on values which
43ff24c
are specified at configure time, so we cannot ship the corresponding
43ff24c
policy file in the tarball.
43ff24c
43ff24c
Since we need to regenerate one policy file, we might as well generate
43ff24c
them all.
43ff24c
43ff24c
(cherry picked from commit 3ce142490907d31c33ac03d72554f92459192f92)
43ff24c
---
43ff24c
 Makefile.am | 2 +-
43ff24c
 1 file changed, 1 insertion(+), 1 deletion(-)
43ff24c
43ff24c
diff --git a/Makefile.am b/Makefile.am
43ff24c
index 7210ab70be..9525e748cf 100644
43ff24c
--- a/Makefile.am
43ff24c
+++ b/Makefile.am
43ff24c
@@ -5224,7 +5224,7 @@ units/user/%: units/%.m4
43ff24c
 	$(AM_V_M4)$(M4) -P $(M4_DEFINES) -DFOR_USER=1 < $< > $@
43ff24c
 
43ff24c
 if ENABLE_POLKIT
43ff24c
-dist_polkitpolicy_DATA = \
43ff24c
+nodist_polkitpolicy_DATA = \
43ff24c
 	$(polkitpolicy_files) \
43ff24c
 	$(polkitpolicy_in_in_files:.policy.in.in=.policy)
43ff24c
 endif