]> xenbits.xensource.com Git - libvirt.git/commitdiff
docs: Introduce $(devhelphtml_generated)
authorAndrea Bolognani <abologna@redhat.com>
Fri, 10 May 2019 12:54:52 +0000 (14:54 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Mon, 13 May 2019 10:02:11 +0000 (12:02 +0200)
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@redhat.com>
Acked-by: Michal Privoznik <mprivozn@redhat.com>
docs/Makefile.am

index 3a729f909c21a3ca5fb085e6f14cdfe05ab0969d..559ea2d01bd0ada0aaae39b52885f1d2f2a350af 100644 (file)
@@ -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 \