[libvirt] [PATCH 2/4] docs: Introduce $(devhelphtml_generated)

Andrea Bolognani abologna at redhat.com
Fri May 10 18:51:18 UTC 2019


Our XSLT magic generates one Devhelp-compatible HTML file
per documentation module, but so far we have only shipped
and installed documentation for virterror.

Now that we have $(modules), however, we can generate the
list of files the same way we do for regular documentation
and make sure we always ship and install everything.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
 docs/Makefile.am | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/docs/Makefile.am b/docs/Makefile.am
index 3a729f909c..559ea2d01b 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -52,7 +52,11 @@ devhelphtml = \
   devhelp/libvirt.devhelp \
   devhelp/index.html \
   devhelp/general.html \
-  devhelp/libvirt-virterror.html
+  $(devhelphtml_generated)
+
+devhelphtml_generated = \
+	$(addprefix devhelp/libvirt-,$(addsuffix .html,$(modules))) \
+	$(NULL)
 
 css = \
   generic.css \
-- 
2.20.1




More information about the libvir-list mailing list