doc: add newline after literal blocks in man pages

The rst2man writer leaves no space between a literal block and the
following paragraph. This patch corrects this.

It has also been applied upstream. This does not conflict with this
change since any number of newlines can be added without effecting the
rendered man page.
This commit is contained in:
Martin Geisler 2009-07-16 23:25:26 +02:00
parent 92882a99d0
commit ab7c29bc29

View File

@ -21,7 +21,8 @@ hg.1.gendoc.txt: gendoc.py ../mercurial/commands.py ../mercurial/help.py
${PYTHON} gendoc.py > $@
%: %.txt
$(RST2MAN) $*.txt > $*
# add newline after all literal blocks
$(RST2MAN) $*.txt | sed -e 's/^\.fi$$/.fi\n/' > $*
%.html: %.txt
$(RST2HTML) $*.txt > $*.html