doc/Makefile
changeset 9445 f0105f2c424c
parent 9444 2f7f6e43d52b
child 9626 d1aa5393bef4
equal deleted inserted replaced
9444:2f7f6e43d52b 9445:f0105f2c424c
    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 \