]> xenbits.xensource.com Git - libvirt.git/commit
examples: Use one top level makefile
authorCole Robinson <crobinso@redhat.com>
Sat, 9 Jan 2016 23:03:56 +0000 (18:03 -0500)
committerCole Robinson <crobinso@redhat.com>
Sun, 10 Jan 2016 02:14:12 +0000 (21:14 -0500)
commitda176bf6b7564721ce6bd18776523a8ad77f4884
tree6e648ad8138c4696a4a0d90c96a71b19b4412f55
parent03569fda63d6dd8cb5cd63c34eb23faf5193da74
examples: Use one top level makefile

Using one Makefile per example subdirectory essentially serializes 'make'
calls. Convert to one example/Makefile that builds and distributes
all the subdir files. This reduces example/ rebuild time from about 5.8
seconds to 1.5 seconds on my machine.

One slight difference is that we no longer ship Makefile.am with the
examples in the rpm. This was virtually useless anyways since the Makefile
was very specific to libvirt infrastructure, so wasn't generically
reusable anyways.

Tested with 'make distcheck' and 'make rpm'
18 files changed:
Makefile.am
configure.ac
examples/Makefile.am [new file with mode: 0644]
examples/apparmor/Makefile.am [deleted file]
examples/dominfo/Makefile.am [deleted file]
examples/dommigrate/Makefile.am [deleted file]
examples/domsuspend/Makefile.am [deleted file]
examples/domsuspend/suspend.c
examples/domtop/Makefile.am [deleted file]
examples/hellolibvirt/Makefile.am [deleted file]
examples/lxcconvert/Makefile.am [deleted file]
examples/object-events/Makefile.am [deleted file]
examples/openauth/Makefile.am [deleted file]
examples/polkit/Makefile.am [deleted file]
examples/rename/Makefile.am [deleted file]
examples/systemtap/Makefile.am [deleted file]
examples/xml/nwfilter/Makefile.am [deleted file]
libvirt.spec.in