From fc24f2205158bcf0234e1467abf3192c2e6a695a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Date: Wed, 20 Nov 2019 14:37:41 +0000 Subject: [PATCH] docs: use variable for referencing API XML filenames MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Pavel Hrdina Signed-off-by: Daniel P. Berrangé --- docs/Makefile.am | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/docs/Makefile.am b/docs/Makefile.am index 5f59d057f1..a360b546d6 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -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 -- GitLab