]> xenbits.xensource.com Git - libvirt.git/commitdiff
docs: use variable for referencing API XML filenames
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 20 Nov 2019 14:37:41 +0000 (14:37 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Fri, 22 Nov 2019 11:14:20 +0000 (11:14 +0000)
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
docs/Makefile.am

index 5f59d057f1bd1d521ae1da6490754d63ceef8a7d..a360b546d61408b50f8edfd017381fd80ff412e1 100644 (file)
@@ -146,18 +146,6 @@ dot_html = \
 htmldir = $(HTML_DIR)
 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
 api_DATA = \
        libvirt-api.xml \
@@ -202,10 +190,7 @@ CLEANFILES = \
   $(apihtml) \
   $(internals_html) \
   $(kbase_html) \
-  $(xml) \
-  $(qemu_xml) \
-  $(lxc_xml) \
-  $(admin_xml) \
+  $(api_DATA) \
   $(dot_html_generated_in) \
   aclperms.htmlinc
 
@@ -280,10 +265,7 @@ python_generated_files = \
                html/libvirt-libvirt-qemu.html \
                html/libvirt-libvirt-admin.html \
                html/libvirt-virterror.html \
-               libvirt-api.xml \
-               libvirt-lxc-api.xml \
-               libvirt-qemu-api.xml \
-               libvirt-admin-api.xml \
+               $(api_DATA) \
                $(NULL)
 
 APIBUILD=$(srcdir)/apibuild.py