summaryrefslogtreecommitdiff
path: root/examples/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* examples: Try harder to uninstall nwfilterMichal Privoznik2016-04-201-1/+1
| | | | | | | | | | | | | We have this code in our Makefile that tries to remove /etc/libvirt/nwfilter if directory is left empty after all our example nwfilters were uninstalled. However, the check for that is missing quotation marks thus rendering the test useless: test -z allow-arp.xml allow-dhcp-server.xml .. qemu-announce-self.xml || \ rmdir "/some/path/libvirt.git/_install/etc/libvirt/nwfilter" /bin/sh: line 0: test: too many arguments Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
* event-test: warn on unhandled enum valuesPeter Krempa2016-04-181-0/+5
| | | | | Avoid forgetting to add the correct fields to the switches in event-test.
* Expand $(wildcard) correctlyMichal Privoznik2016-01-121-3/+3
| | | | | | | | | | So after da176bf6b756 and friend we have switched to $(wildcard some/path/*.xml) instead of enumerating the files explicitly. This is nice, however it makes distcheck build from VPATH fail. The reason is that it's is not obvious to what does the wildcard refer to: srcdir or builddir? Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
* examples: Use one top level makefileCole Robinson2016-01-091-0/+89
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'