[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 2/3] docs, build: Tolerate missing pod2text

We gate the whole of the "txt" target on pod2text.  I think this is
better than gating only the pod-generated outputs; it avoids a partial
output tree.

Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
 docs/Makefile |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/docs/Makefile b/docs/Makefile
index e9f6c20..03f141a 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -38,7 +38,10 @@ dev-docs: python-dev-docs
 html: $(DOC_HTML) html/index.html
 .PHONY: txt
-txt: $(DOC_TXT)
+       @if which $(POD2TEXT) 1>/dev/null 2>/dev/null; then \
+       $(MAKE) $(DOC_TXT); else              \
+       echo "pod2text not installed; skipping text outputs."; fi
 .PHONY: figs

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.