docs: use variable for referencing API XML filenames

Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé 2019-11-20 14:37:41 +00:00
parent 4ce0fea015
commit fc24f22051

View File

@ -146,18 +146,6 @@ dot_html = \
htmldir = $(HTML_DIR) htmldir = $(HTML_DIR)
html_DATA = $(css) $(png) $(gif) $(dot_html) html_DATA = $(css) $(png) $(gif) $(dot_html)
xml = \
libvirt-api.xml
qemu_xml = \
libvirt-qemu-api.xml
lxc_xml = \
libvirt-lxc-api.xml
admin_xml = \
libvirt-admin-api.xml
apidir = $(pkgdatadir)/api apidir = $(pkgdatadir)/api
api_DATA = \ api_DATA = \
libvirt-api.xml \ libvirt-api.xml \
@ -202,10 +190,7 @@ CLEANFILES = \
$(apihtml) \ $(apihtml) \
$(internals_html) \ $(internals_html) \
$(kbase_html) \ $(kbase_html) \
$(xml) \ $(api_DATA) \
$(qemu_xml) \
$(lxc_xml) \
$(admin_xml) \
$(dot_html_generated_in) \ $(dot_html_generated_in) \
aclperms.htmlinc aclperms.htmlinc
@ -280,10 +265,7 @@ python_generated_files = \
html/libvirt-libvirt-qemu.html \ html/libvirt-libvirt-qemu.html \
html/libvirt-libvirt-admin.html \ html/libvirt-libvirt-admin.html \
html/libvirt-virterror.html \ html/libvirt-virterror.html \
libvirt-api.xml \ $(api_DATA) \
libvirt-lxc-api.xml \
libvirt-qemu-api.xml \
libvirt-admin-api.xml \
$(NULL) $(NULL)
APIBUILD=$(srcdir)/apibuild.py APIBUILD=$(srcdir)/apibuild.py