examples: Install under $(docdir)
commit4faaaa8b27cc78164b68ac7cbd0057472f918335
authorAndrea Bolognani <abologna@redhat.com>
Fri, 10 May 2019 14:32:22 +0000 (10 16:32 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Mon, 13 May 2019 10:02:17 +0000 (13 12:02 +0200)
treec605009dd7203c8044755629e9e9e8ab038749e1
parent6716c997f631cfa57f8cbddd86328ec54da70e6a
examples: Install under $(docdir)

Our build system doesn't currently install the various
example programs provided along libvirt; however, both the
upstream .spec file and the Debian packaging go out of
their way to make sure these useful demos are included in
the respective documentation packages.

Moreover, doing so without help from the upstream build
system is easy to get wrong: the libvirt-docs RPM package,
for example, ends up missing one of the examples and
including a bunch of empty .deps/ directories.

Install the examples in $(docdir) as part of our regular
procedure, so that users and downstreams don't have to do
anything special about them.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Acked-by: Michal Privoznik <mprivozn@redhat.com>
examples/Makefile.am
libvirt.spec.in