[PATCH] fix documentation build

Sebastian Spaeth Sebastian at SSpaeth.de
Wed Mar 2 14:34:15 GMT 2011


On Thu, 17 Feb 2011 18:59:36 +0100,  wrote:
> > our Makefile contains
> >
> > type rst2html 2>/dev/null && echo rst2html || echo rst2html.py

> > which will break things. So either we need to suppres STDOUT too:
> >
> > type rst2html >/dev/null 2>&1 && echo rst2html || echo rst2html.py

> -RST2HTML=`type rst2html 2>/dev/null && echo rst2html || echo rst2html.py`
> +RST2HTML=`type rst2html 2>/dev/null 2>&1 && echo rst2html || echo rst2html.py`

Hi there, just tried to build the docs, but it is still wrong. The
current:
RST2HTML=`type rst2html 2>/dev/null 2>&1 && echo rst2html || echo 

redirects STDERR to STDOUT, not optimal :-)

This would fix it...
-RST2HTML=`type rst2html 2>/dev/null 2>&1 && echo rst2html || echo 
+RST2HTML=`type rst2html >/dev/null 2>&1 && echo rst2html || echo

At least on my Ubuntu box the below works fine.

Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20110302/23ae828a/attachment.sig>


More information about the OfflineIMAP-project mailing list