|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH 1 of 7] docs: report when we don't build docs due to
# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1320678727 0
# Node ID 7a126dbf62d76d45a10ea55be9c354b1bd4f4bf1
# Parent c0702424afc5f7b972c26c6110f6489305844635
docs: report when we don't build docs due to a missing tool
It's useful if you are wondering why there are no docs..
Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
diff -r c0702424afc5 -r 7a126dbf62d7 docs/Makefile
--- a/docs/Makefile Mon Nov 07 10:29:14 2011 +0100
+++ b/docs/Makefile Mon Nov 07 15:12:07 2011 +0000
@@ -58,7 +58,8 @@ python-dev-docs:
.PHONY: man-pages
man-pages:
@if which $(POD2MAN) 1>/dev/null 2>/dev/null; then \
- $(MAKE) $(DOC_MAN1) $(DOC_MAN5); fi
+ $(MAKE) $(DOC_MAN1) $(DOC_MAN5); else \
+ echo "pod2man not installed; skipping man-pages."; fi
man1/%.1: man/%.pod.1 Makefile
$(INSTALL_DIR) $(@D)
@@ -120,14 +121,16 @@ html/%/index.html: src/%.tex
echo "Running latex2html to generate $*/index.html ... "; \
$(LATEX2HTML) -split 0 -show_section_numbers -toc_depth 3 -nonavigation
\
-numbered_footnotes -local_icons -noinfo -math -dir $(@D) \
- $< 1>/dev/null 2>/dev/null ;fi
+ $< 1>/dev/null 2>/dev/null ; else \
+ echo "latex2html not installed; skipping $*."; fi
html/%.html: %.markdown
@$(INSTALL_DIR) $(@D)
@set -e ; if which $(MARKDOWN) 1>/dev/null 2>/dev/null; then \
echo "Running markdown to generate $*.html ... "; \
$(MARKDOWN) $< > $@.tmp ; \
- $(call move-if-changed,$@.tmp,$@) ; fi
+ $(call move-if-changed,$@.tmp,$@) ; else \
+ echo "markdown not installed; skipping $*.html."; fi
txt/%.txt: %.txt
$(INSTALL_DIR) $(@D)
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH 0 of 7] xl domain config file documentation & other bits, Ian Campbell
- [Xen-devel] [PATCH 2 of 7] README: add markdown to dependency list, Ian Campbell
- [Xen-devel] [PATCH 4 of 7] docs: fix references from xl man page to xldomain.cfg manpage, Ian Campbell
- [Xen-devel] [PATCH 7 of 7] docs: generate docs direct into final filename, Ian Campbell
- [Xen-devel] [PATCH 6 of 7] xl: the name field in a guest config file is mandatory, Ian Campbell
- [Xen-devel] [PATCH] docs: xlexample.hvm is missing "builder = 'hvm'", Ian Campbell
- [Xen-devel] [PATCH] docs: xlexample.*: reference xl-domain-config document, Ian Campbell
- Re: [Xen-devel] [PATCH 0 of 7] xl domain config file documentation & other bits, Ian Campbell
- [Xen-devel] [PATCH 1 of 7] docs: report when we don't build docs due to a missing tool,
Ian Campbell <=
- [Xen-devel] [PATCH 5 of 7] docs: install html and txt versions of manpages, Ian Campbell
- [Xen-devel] [PATCH 3 of 7] docs: add a document describing the xl cfg file syntax, Ian Campbell
- Re: [Xen-devel] [PATCH 3 of 7] docs: add a document describing the xl cfg file syntax, Ian Campbell
|
|
|
|
|