aboutsummaryrefslogtreecommitdiffstats
path: root/docs/Makefile
diff options
context:
space:
mode:
authorIan Jackson <ian.jackson@eu.citrix.com>2012-10-09 17:59:59 +0100
committerIan Jackson <ian.jackson@eu.citrix.com>2012-10-09 17:59:59 +0100
commit97d5a272d594be442a46446da35d633975d09751 (patch)
treeab2250567825f9828878b00deffafbf6d0aab613 /docs/Makefile
parent8e26a013fd848eb2437768e275751b514698b990 (diff)
downloadxen-97d5a272d594be442a46446da35d633975d09751.tar.gz
xen-97d5a272d594be442a46446da35d633975d09751.tar.bz2
xen-97d5a272d594be442a46446da35d633975d09751.zip
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@eu.citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Ian Campbell <ian.campbell@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 e9f6c200c3..03f141a3f7 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)
+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
figs: