mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-07-31 14:07:16 +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) \
|
$(wildcard $(srcdir)/polkit/*.rules) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
|
SH_EXAMPLES = \
|
||||||
|
$(wildcard $(srcdir)/sh/*) \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
STORAGE_XML_EXAMPLES = \
|
STORAGE_XML_EXAMPLES = \
|
||||||
$(wildcard $(srcdir)/xml/storage/*.xml) \
|
$(wildcard $(srcdir)/xml/storage/*.xml) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
@ -35,8 +39,8 @@ TEST_XML_EXAMPLES = \
|
|||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
lxcconvert/virt-lxc-convert \
|
|
||||||
$(POLKIT_EXAMPLES) \
|
$(POLKIT_EXAMPLES) \
|
||||||
|
$(SH_EXAMPLES) \
|
||||||
$(STORAGE_XML_EXAMPLES) \
|
$(STORAGE_XML_EXAMPLES) \
|
||||||
$(SYSTEMTAP_EXAMPLES) \
|
$(SYSTEMTAP_EXAMPLES) \
|
||||||
$(TEST_XML_EXAMPLES) \
|
$(TEST_XML_EXAMPLES) \
|
||||||
@ -119,6 +123,9 @@ examplesdir = $(docdir)/examples
|
|||||||
polkitexamplesdir = $(examplesdir)/polkit
|
polkitexamplesdir = $(examplesdir)/polkit
|
||||||
polkitexamples_DATA = $(POLKIT_EXAMPLES)
|
polkitexamples_DATA = $(POLKIT_EXAMPLES)
|
||||||
|
|
||||||
|
shexamplesdir = $(examplesdir)/sh
|
||||||
|
shexamples_DATA = $(SH_EXAMPLES)
|
||||||
|
|
||||||
storagexmlexamplesdir = $(examplesdir)/xml/storage
|
storagexmlexamplesdir = $(examplesdir)/xml/storage
|
||||||
storagexmlexamples_DATA = $(STORAGE_XML_EXAMPLES)
|
storagexmlexamples_DATA = $(STORAGE_XML_EXAMPLES)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user