diff --git a/examples/Makefile.am b/examples/Makefile.am index 67d959c6a360162b77cbb63c7a7161443bac9c07..4122219e22416c623daf453ea2a26d6845316297 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -18,9 +18,13 @@ FILTERS = $(wildcard $(srcdir)/xml/nwfilter/*.xml) +POLKIT_EXAMPLES = \ + $(wildcard $(srcdir)/polkit/*.rules) \ + $(NULL) + EXTRA_DIST = \ lxcconvert/virt-lxc-convert \ - polkit/libvirt-acl.rules \ + $(POLKIT_EXAMPLES) \ $(wildcard $(srcdir)/systemtap/*.stp) \ $(FILTERS) \ $(wildcard $(srcdir)/xml/storage/*.xml) \ @@ -99,6 +103,9 @@ endif WITH_NWFILTER examplesdir = $(docdir)/examples +polkitexamplesdir = $(examplesdir)/polkit +polkitexamples_DATA = $(POLKIT_EXAMPLES) + install-data-local: for p in $(EXAMPLES); do \ d=$$(dirname $$p); \ diff --git a/libvirt.spec.in b/libvirt.spec.in index ab10dfd9c09b8a072e7b141dda6f002ca15b307a..59a2a0cb245b56393dac1d32f1362746edea507c 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -1568,8 +1568,6 @@ exit 0 %{_mandir}/man8/virtlockd.8* %{_mandir}/man7/virkey*.7* -%doc examples/polkit/*.rules - %files daemon-config-network %dir %{_datadir}/libvirt/networks/ %{_datadir}/libvirt/networks/default.xml