On 10/07/2014 07:26 AM, Jiri Denemark wrote:
The pkg-config files in src/ make it pretty easy to build language
bindings against an uninstalled libvirt, however, they don't work with
VPATH builds. The reason is that all *-api.xml files are generated in
source rather than build directory.
Signed-off-by: Jiri Denemark <jdenemar(a)redhat.com>
---
src/libvirt-lxc.pc.in | 2 +-
src/libvirt-qemu.pc.in | 2 +-
src/libvirt.pc.in | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
Looks like datarootdir feeds datadir, infodir, localedir, mandir, and
docdir; I don't think any of our code requires documentation to be
installed to run correctly, so even though we have a mix of data that is
generated in srcdir vs. generated in builddir, I agree that the data
most useful to language bindings is the stuff we build into srcdir.
ACK.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org