Mercurial > hg-stable
diff doc/Makefile @ 9162:2399362b3bb0
doc: link man pages to one another
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Thu, 16 Jul 2009 23:25:26 +0200 |
parents | e8b653a4b8da |
children | a6747ba27d22 |
line wrap: on
line diff
--- a/doc/Makefile Thu Jul 16 23:25:26 2009 +0200 +++ b/doc/Makefile Thu Jul 16 23:25:26 2009 +0200 @@ -20,14 +20,14 @@ hg.1.gendoc.txt: gendoc.py ../mercurial/commands.py ../mercurial/help.py ${PYTHON} gendoc.py > $@ -%: %.txt +%: %.txt common.txt # add newline after all literal blocks and fix backslash escape $(RST2MAN) $*.txt \ | sed -e 's/^\.fi$$/.fi\n/' \ | sed -e 's/\\fB\\\\fP/\\fB\\e\\fP/' \ > $* -%.html: %.txt +%.html: %.txt common.txt $(RST2HTML) $*.txt > $*.html MANIFEST: man html