equal
deleted
inserted
replaced
19 hg.1.gendoc.txt: gendoc.py ../mercurial/commands.py ../mercurial/help.py |
19 hg.1.gendoc.txt: gendoc.py ../mercurial/commands.py ../mercurial/help.py |
20 ${PYTHON} gendoc.py > $@.tmp |
20 ${PYTHON} gendoc.py > $@.tmp |
21 mv $@.tmp $@ |
21 mv $@.tmp $@ |
22 |
22 |
23 %: %.txt common.txt |
23 %: %.txt common.txt |
24 $(PYTHON) rst2man.py --strip-elements-with-class htmlonly $*.txt $* |
24 $(PYTHON) rst2man.py --halt warning \ |
|
25 --strip-elements-with-class htmlonly $*.txt $* |
25 |
26 |
26 %.html: %.txt common.txt |
27 %.html: %.txt common.txt |
27 $(RST2HTML) $*.txt $*.html |
28 $(RST2HTML) --halt warning $*.txt $*.html |
28 |
29 |
29 MANIFEST: man html |
30 MANIFEST: man html |
30 # tracked files are already in the main MANIFEST |
31 # tracked files are already in the main MANIFEST |
31 $(RM) $@ |
32 $(RM) $@ |
32 for i in $(MAN) $(HTML) hg.1.gendoc.txt; do \ |
33 for i in $(MAN) $(HTML) hg.1.gendoc.txt; do \ |