diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2012-02-13 16:46:29 +0000 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2012-02-14 16:42:02 +0000 |
commit | c95c90ee4a2e6e3e62b32909e2bd57972a73b4ab (patch) | |
tree | 9259ef0edf893ec413f1b8657612345f935ecfd3 /libvirt.pc.in | |
parent | qemu: make block io tuning smarter (diff) | |
download | libvirt-c95c90ee4a2e6e3e62b32909e2bd57972a73b4ab.tar.gz libvirt-c95c90ee4a2e6e3e62b32909e2bd57972a73b4ab.tar.bz2 libvirt-c95c90ee4a2e6e3e62b32909e2bd57972a73b4ab.zip |
Install API XML desc to a standard location
Language bindings may well want to use the libvirt-api.xml and
libvirt-qemu-api.xml files to either auto-generate themselves,
or sanity check the manually written bindings for completeness.
Currently these XML files are not installed as standard, merely
ending up as a %doc file in the RPM.
This changes them to be installed into $prefix/share/libvirt/apis/
The *-refs.xml files are not installed, since those are only
useful during generation of the online API doc files.
The pkg-config file is enhanced so that you can query the install
location of the API files. eg
# pkg-config --variable=libvirt_qemu_api libvirt
/home/berrange/builder/i686-pc-mingw32/sys-root/mingw/share/libvirt/libvirt-qemu-api.xml
* docs/Makefile.am: Install libvirt-api.xml & libvirt-qemu-api.xml
* libvirt.pc.in: Add vars for querying API install location
* libvirt.spec.in, mingw32-libvirt.spec.in: Include API XML files
Diffstat (limited to 'libvirt.pc.in')
-rw-r--r-- | libvirt.pc.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libvirt.pc.in b/libvirt.pc.in index d7a5e55bc..c64a7ca1e 100644 --- a/libvirt.pc.in +++ b/libvirt.pc.in @@ -3,6 +3,9 @@ exec_prefix=@exec_prefix@ libdir=@libdir@ includedir=@includedir@ +libvirt_api=@datadir@/libvirt/libvirt-api.xml +libvirt_qemu_api=@datadir@/libvirt/libvirt-qemu-api.xml + Name: libvirt Version: @VERSION@ Description: libvirt library |