mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
examples: Move and install shell examples
The virt-lxc-convert shell script is at this point the only example we don't install on the target system. Create a sh/ subdirectory, following the example set by the existing polkit/, systemtap/ and xml/, and move the script there; then add rules that will install all example shell scripts as documentation. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Acked-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
bc43533e53
commit
81c2486ab7
@ -22,6 +22,10 @@ POLKIT_EXAMPLES = \
|
||||
$(wildcard $(srcdir)/polkit/*.rules) \
|
||||
$(NULL)
|
||||
|
||||
SH_EXAMPLES = \
|
||||
$(wildcard $(srcdir)/sh/*) \
|
||||
$(NULL)
|
||||
|
||||
STORAGE_XML_EXAMPLES = \
|
||||
$(wildcard $(srcdir)/xml/storage/*.xml) \
|
||||
$(NULL)
|
||||
@ -35,8 +39,8 @@ TEST_XML_EXAMPLES = \
|
||||
$(NULL)
|
||||
|
||||
EXTRA_DIST = \
|
||||
lxcconvert/virt-lxc-convert \
|
||||
$(POLKIT_EXAMPLES) \
|
||||
$(SH_EXAMPLES) \
|
||||
$(STORAGE_XML_EXAMPLES) \
|
||||
$(SYSTEMTAP_EXAMPLES) \
|
||||
$(TEST_XML_EXAMPLES) \
|
||||
@ -119,6 +123,9 @@ examplesdir = $(docdir)/examples
|
||||
polkitexamplesdir = $(examplesdir)/polkit
|
||||
polkitexamples_DATA = $(POLKIT_EXAMPLES)
|
||||
|
||||
shexamplesdir = $(examplesdir)/sh
|
||||
shexamples_DATA = $(SH_EXAMPLES)
|
||||
|
||||
storagexmlexamplesdir = $(examplesdir)/xml/storage
|
||||
storagexmlexamples_DATA = $(STORAGE_XML_EXAMPLES)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user