mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 17:34:18 +03:00
examples: Install Polkit examples
Right now we install the files in RPMs only, and we include them in the -daemon package which is probably not the best option either. Start installing them via autotools; the RPMs will get them automatically in the -docs package. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Acked-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
db4529c5ee
commit
925bfbd809
@ -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); \
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user