aboutsummaryrefslogtreecommitdiffstats
path: root/docs/Makefile
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2011-11-29 14:17:27 +0000
committerIan Campbell <ian.campbell@citrix.com>2011-11-29 14:17:27 +0000
commit3019857cc95e67ed45f8c05f24c9271a01f5885a (patch)
tree2e5cc0020e19060596bad23ca46cc20401b5f4e4 /docs/Makefile
parente414f49fa31bba0272a0c40699abad86cd952977 (diff)
downloadxen-3019857cc95e67ed45f8c05f24c9271a01f5885a.tar.gz
xen-3019857cc95e67ed45f8c05f24c9271a01f5885a.tar.bz2
xen-3019857cc95e67ed45f8c05f24c9271a01f5885a.zip
docs: generate an index for the html output
nb: I'm not a Perl wizard... Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Ian Jackson <ian.jackson.citrix.com> Acked-by: Ian Jackson <ian.jackson.citrix.com>
Diffstat (limited to 'docs/Makefile')
-rw-r--r--docs/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/Makefile b/docs/Makefile
index 7595e1d236..2dde146b2c 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -45,7 +45,7 @@ ps: $(DOC_PS)
pdf: $(DOC_PDF)
.PHONY: html
-html: $(DOC_HTML)
+html: $(DOC_HTML) html/index.html
.PHONY: txt
txt: $(DOC_TXT)
@@ -128,6 +128,9 @@ html/%/index.html: src/%.tex
$< 1>/dev/null 2>/dev/null ; else \
echo "latex2html not installed; skipping $*."; fi
+html/index.html: $(DOC_HTML) ./gen-html-index INDEX
+ perl -w -- ./gen-html-index -i INDEX html $(DOC_HTML)
+
html/%.html: %.markdown
@$(INSTALL_DIR) $(@D)
@set -e ; if which $(MARKDOWN) 1>/dev/null 2>/dev/null; then \