]> xenbits.xensource.com Git - libvirt.git/commitdiff
docs: Introduce $(modules)
authorAndrea Bolognani <abologna@redhat.com>
Fri, 10 May 2019 12:48:46 +0000 (14:48 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Mon, 13 May 2019 10:02:04 +0000 (12:02 +0200)
This variable contains a lists of documentation modules,
in a neutral format.

Right now is only used to define $(apihtml_generated), but
later on we're gonna reuse it.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Acked-by: Michal Privoznik <mprivozn@redhat.com>
docs/Makefile.am

index 29b0761a2beffb4c73fe383cbd9a9e011618c625..3a729f909c21a3ca5fb085e6f14cdfe05ab0969d 100644 (file)
 
 DEVHELP_DIR=$(datadir)/gtk-doc/html/libvirt
 
+modules = \
+       libvirt-common \
+       libvirt-domain \
+       libvirt-domain-snapshot \
+       libvirt-event \
+       libvirt-host \
+       libvirt-interface \
+       libvirt-network \
+       libvirt-nodedev \
+       libvirt-nwfilter \
+       libvirt-secret \
+       libvirt-storage \
+       libvirt-stream \
+       virterror \
+       $(NULL)
+
 apihtml = \
   html/index.html \
   $(apihtml_generated)
 
 apihtml_generated = \
-  html/libvirt-libvirt-common.html \
-  html/libvirt-libvirt-domain.html \
-  html/libvirt-libvirt-domain-snapshot.html \
-  html/libvirt-libvirt-event.html \
-  html/libvirt-libvirt-host.html \
-  html/libvirt-libvirt-interface.html \
-  html/libvirt-libvirt-network.html \
-  html/libvirt-libvirt-nodedev.html \
-  html/libvirt-libvirt-nwfilter.html \
-  html/libvirt-libvirt-secret.html \
-  html/libvirt-libvirt-storage.html \
-  html/libvirt-libvirt-stream.html \
-  html/libvirt-virterror.html
+       $(addprefix html/libvirt-,$(addsuffix .html,$(modules))) \
+       $(NULL)
 
 apipng = \
   html/left.png \