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

[Xen-changelog] [xen-4.2-testing] docs, build: Tolerate missing pod2text


  • To: xen-changelog@xxxxxxxxxxxxxxxxxxx
  • From: Xen patchbot-4.2-testing <patchbot@xxxxxxx>
  • Date: Fri, 02 Nov 2012 05:11:17 +0000
  • Delivery-date: Fri, 02 Nov 2012 05:11:24 +0000
  • List-id: "Change log for Mercurial \(receive only\)" <xen-changelog.lists.xen.org>

# HG changeset patch
# User Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
# Date 1351266441 -3600
# Node ID 76d3d1d4aca09cc2f6d839f9611857627540e5f0
# Parent  dbb1872bbb97edc26fda69e922344d88990322d2
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>
Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
Committed-by: Ian Campbell <ian.campbell@xxxxxxxxxx>

xen-unstable changeset: 26041:f92152f52a85
Backport-requested-by: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---


diff -r dbb1872bbb97 -r 76d3d1d4aca0 docs/Makefile
--- a/docs/Makefile     Fri Oct 26 16:45:34 2012 +0100
+++ b/docs/Makefile     Fri Oct 26 16:47:21 2012 +0100
@@ -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: python-dev-docs
 python-dev-docs:

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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