mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-26 15:45:28 +00:00
docs: Fix installation of internals/*.html
We were just installing them in the top level html directory, which
broke navigation and overwrote other pages.
https://bugzilla.redhat.com/show_bug.cgi?id=837825
(cherry picked from commit 7146d41634
)
This commit is contained in:
parent
3d12463644
commit
965e4c3c24
@ -71,8 +71,14 @@ gif = \
|
|||||||
architecture.gif \
|
architecture.gif \
|
||||||
node.gif
|
node.gif
|
||||||
|
|
||||||
dot_html_in = $(notdir $(wildcard $(srcdir)/*.html.in)) todo.html.in hvsupport.html.in \
|
|
||||||
|
internals_html_in = \
|
||||||
$(patsubst $(srcdir)/%,%,$(wildcard $(srcdir)/internals/*.html.in))
|
$(patsubst $(srcdir)/%,%,$(wildcard $(srcdir)/internals/*.html.in))
|
||||||
|
internals_html = $(internals_html_in:%.html.in=%.html)
|
||||||
|
|
||||||
|
dot_html_in = $(notdir $(wildcard $(srcdir)/*.html.in)) \
|
||||||
|
todo.html.in \
|
||||||
|
hvsupport.html.in
|
||||||
dot_html = $(dot_html_in:%.html.in=%.html)
|
dot_html = $(dot_html_in:%.html.in=%.html)
|
||||||
|
|
||||||
dot_php_in = $(notdir $(wildcard $(srcdir)/*.php.in))
|
dot_php_in = $(notdir $(wildcard $(srcdir)/*.php.in))
|
||||||
@ -112,6 +118,7 @@ EXTRA_DIST= \
|
|||||||
$(devhelphtml) $(devhelppng) $(devhelpcss) $(devhelpxsl) \
|
$(devhelphtml) $(devhelppng) $(devhelpcss) $(devhelpxsl) \
|
||||||
$(xml) $(qemu_xml) $(fig) $(png) $(css) \
|
$(xml) $(qemu_xml) $(fig) $(png) $(css) \
|
||||||
$(patches) $(dot_php_in) $(dot_php_code_in) $(dot_php)\
|
$(patches) $(dot_php_in) $(dot_php_code_in) $(dot_php)\
|
||||||
|
$(internals_html_in) $(internals_html) \
|
||||||
sitemap.html.in \
|
sitemap.html.in \
|
||||||
todo.pl hvsupport.pl todo.cfg-example
|
todo.pl hvsupport.pl todo.cfg-example
|
||||||
|
|
||||||
@ -119,6 +126,7 @@ MAINTAINERCLEANFILES = \
|
|||||||
$(addprefix $(srcdir)/,$(dot_html)) \
|
$(addprefix $(srcdir)/,$(dot_html)) \
|
||||||
$(addprefix $(srcdir)/,$(apihtml)) \
|
$(addprefix $(srcdir)/,$(apihtml)) \
|
||||||
$(addprefix $(srcdir)/,$(devhelphtml)) \
|
$(addprefix $(srcdir)/,$(devhelphtml)) \
|
||||||
|
$(addprefix $(srcdir)/,$(internals_html)) \
|
||||||
$(addprefix $(srcdir)/,$(dot_php))
|
$(addprefix $(srcdir)/,$(dot_php))
|
||||||
|
|
||||||
all-am: web
|
all-am: web
|
||||||
@ -126,7 +134,8 @@ all-am: web
|
|||||||
api: $(srcdir)/libvirt-api.xml $(srcdir)/libvirt-refs.xml
|
api: $(srcdir)/libvirt-api.xml $(srcdir)/libvirt-refs.xml
|
||||||
qemu_api: $(srcdir)/libvirt-qemu-api.xml $(srcdir)/libvirt-qemu-refs.xml
|
qemu_api: $(srcdir)/libvirt-qemu-api.xml $(srcdir)/libvirt-qemu-refs.xml
|
||||||
|
|
||||||
web: $(dot_html) html/index.html devhelp/index.html $(dot_php)
|
web: $(dot_html) $(internals_html) html/index.html devhelp/index.html \
|
||||||
|
$(dot_php)
|
||||||
|
|
||||||
todo.html.in: todo.pl
|
todo.html.in: todo.pl
|
||||||
if [ -f todo.cfg ]; then \
|
if [ -f todo.cfg ]; then \
|
||||||
@ -256,6 +265,9 @@ install-data-local:
|
|||||||
$(INSTALL) -m 0644 $(srcdir)/$$h $(DESTDIR)$(HTML_DIR)/html; done
|
$(INSTALL) -m 0644 $(srcdir)/$$h $(DESTDIR)$(HTML_DIR)/html; done
|
||||||
for p in $(apipng); do \
|
for p in $(apipng); do \
|
||||||
$(INSTALL) -m 0644 $(srcdir)/$$p $(DESTDIR)$(HTML_DIR)/html; done
|
$(INSTALL) -m 0644 $(srcdir)/$$p $(DESTDIR)$(HTML_DIR)/html; done
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(HTML_DIR)/internals
|
||||||
|
for f in $(internals_html); do \
|
||||||
|
$(INSTALL) -m 0644 $(srcdir)/$$f $(DESTDIR)$(HTML_DIR)/internals; done
|
||||||
$(mkinstalldirs) $(DESTDIR)$(DEVHELP_DIR)
|
$(mkinstalldirs) $(DESTDIR)$(DEVHELP_DIR)
|
||||||
for file in $(devhelphtml) $(devhelppng) $(devhelpcss); do \
|
for file in $(devhelphtml) $(devhelppng) $(devhelpcss); do \
|
||||||
$(INSTALL) -m 0644 $(srcdir)/$${file} $(DESTDIR)$(DEVHELP_DIR) ; \
|
$(INSTALL) -m 0644 $(srcdir)/$${file} $(DESTDIR)$(DEVHELP_DIR) ; \
|
||||||
|
Loading…
Reference in New Issue
Block a user