mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 19:45:21 +00:00
build, docs: Let make see the dependencies for html/*.html
Make was not able to realize the dependencies for html/*.html files when running 'make -j9 dist'. All the files are generated together with html/index.html, so simply separating them into another variable and adding one block into the dependency chain solves the issue. Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
parent
af1b89d1d4
commit
b79d195b72
@ -27,6 +27,9 @@ DEVHELP_DIR=$(datadir)/gtk-doc/html/libvirt
|
|||||||
|
|
||||||
apihtml = \
|
apihtml = \
|
||||||
html/index.html \
|
html/index.html \
|
||||||
|
$(apihtml_generated)
|
||||||
|
|
||||||
|
apihtml_generated = \
|
||||||
html/libvirt-libvirt-domain.html \
|
html/libvirt-libvirt-domain.html \
|
||||||
html/libvirt-libvirt-domain-snapshot.html \
|
html/libvirt-libvirt-domain-snapshot.html \
|
||||||
html/libvirt-libvirt-event.html \
|
html/libvirt-libvirt-event.html \
|
||||||
@ -248,6 +251,8 @@ internals/%.html.tmp: internals/%.html.in subsite.xsl page.xsl sitemap.html.in
|
|||||||
-e /php_placeholder/d < $@.tmp > $(srcdir)/$@ \
|
-e /php_placeholder/d < $@.tmp > $(srcdir)/$@ \
|
||||||
|| { rm $(srcdir)/$@ && exit 1; }; fi
|
|| { rm $(srcdir)/$@ && exit 1; }; fi
|
||||||
|
|
||||||
|
$(apihtml_generated): html/index.html
|
||||||
|
|
||||||
html/index.html: libvirt-api.xml newapi.xsl page.xsl sitemap.html.in
|
html/index.html: libvirt-api.xml newapi.xsl page.xsl sitemap.html.in
|
||||||
$(AM_V_GEN)if [ -x $(XSLTPROC) ] ; then \
|
$(AM_V_GEN)if [ -x $(XSLTPROC) ] ; then \
|
||||||
$(XSLTPROC) --nonet -o $(srcdir)/ \
|
$(XSLTPROC) --nonet -o $(srcdir)/ \
|
||||||
|
Loading…
Reference in New Issue
Block a user