Mercurial > hg
comparison doc/Makefile @ 9401:2a5144687727
doc/Makefile: Don't show Makefile comments in output
The comments makes sense when editing Makefile, but not when watching its
output where it looks too much like error messages.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Thu, 20 Aug 2009 23:35:47 +0200 |
parents | a6747ba27d22 |
children | 7345fa5e572e |
comparison
equal
deleted
inserted
replaced
9400:a6747ba27d22 | 9401:2a5144687727 |
---|---|
20 hg.1.gendoc.txt: gendoc.py ../mercurial/commands.py ../mercurial/help.py | 20 hg.1.gendoc.txt: gendoc.py ../mercurial/commands.py ../mercurial/help.py |
21 ${PYTHON} gendoc.py > $@ | 21 ${PYTHON} gendoc.py > $@ |
22 | 22 |
23 %: %.txt common.txt | 23 %: %.txt common.txt |
24 $(RST2MAN) $*.txt > $*.tmp | 24 $(RST2MAN) $*.txt > $*.tmp |
25 # add newline after all literal blocks and fix backslash escape | 25 # add newline after all literal blocks and fix backslash escape |
26 sed \ | 26 sed \ |
27 -e 's/^\.fi$$/.fi\n/' \ | 27 -e 's/^\.fi$$/.fi\n/' \ |
28 -e 's/\\fB\\\\fP/\\fB\\e\\fP/' \ | 28 -e 's/\\fB\\\\fP/\\fB\\e\\fP/' \ |
29 $*.tmp > $* | 29 $*.tmp > $* |
30 rm $*.tmp | 30 rm $*.tmp |
31 | 31 |
32 %.html: %.txt common.txt | 32 %.html: %.txt common.txt |
33 $(RST2HTML) $*.txt > $*.html | 33 $(RST2HTML) $*.txt > $*.html |
34 | 34 |
35 MANIFEST: man html | 35 MANIFEST: man html |
36 # tracked files are already in the main MANIFEST | 36 # tracked files are already in the main MANIFEST |
37 $(RM) $@ | 37 $(RM) $@ |
38 for i in $(MAN) $(HTML) hg.1.gendoc.txt; do \ | 38 for i in $(MAN) $(HTML) hg.1.gendoc.txt; do \ |
39 echo "doc/$$i" >> $@ ; \ | 39 echo "doc/$$i" >> $@ ; \ |
40 done | 40 done |
41 | 41 |