Index: xen-3.0.3-testing/docs/Makefile =================================================================== --- xen-3.0.3-testing.orig/docs/Makefile +++ xen-3.0.3-testing/docs/Makefile @@ -86,13 +86,13 @@ distclean: clean .PHONY: install install: all rm -rf $(DESTDIR)$(pkgdocdir) - $(INSTALL_DIR) $(DESTDIR)$(pkgdocdir) + $(INSTALL_DIR) $(DESTDIR)$(pkgdocdir)/html cp -dR ps $(DESTDIR)$(pkgdocdir) cp -dR pdf $(DESTDIR)$(pkgdocdir) + cp -dR html.done/* $(DESTDIR)$(pkgdocdir)/html $(INSTALL_DIR) $(DESTDIR)$(mandir) cp -dR man1 $(DESTDIR)$(mandir) cp -dR man5 $(DESTDIR)$(mandir) - [ ! -d html ] || cp -dR html $(DESTDIR)$(pkgdocdir) pdf/%.pdf: ps/%.ps $(INSTALL_DIR) $(@D) @@ -116,3 +116,9 @@ html/%/index.html: src/%.tex $(LATEX2HTML) -split 0 -show_section_numbers -toc_depth 3 -nonavigation \ -numbered_footnotes -local_icons -noinfo -math -dir $(@D) \ $< 1>/dev/null 2>/dev/null + rm -rf html.done/$*/ + mkdir -p html.done/$*/ + cp html/$*/*.html html/$*/*.css html/$*/*.png html.done/$*/ + ln -sf $*.html html.done/$*/index.html + rm -rf html/ +