comparison doc/Makefile @ 19425:81fbd4e66ff5

gendoc: dispatch print document content by commandline arguments Before this patch, gendoc.py only prints hg.1.gendoc.txt content. This adds any content print function.
author Takumi IINO <trot.thunder@gmail.com>
date Wed, 03 Jul 2013 21:49:41 +0900
parents 323c11dad9c6
children e43184680461
comparison
equal deleted inserted replaced
19424:762e51ce3411 19425:81fbd4e66ff5
20 20
21 hg.1.txt: hg.1.gendoc.txt 21 hg.1.txt: hg.1.gendoc.txt
22 touch hg.1.txt 22 touch hg.1.txt
23 23
24 hg.1.gendoc.txt: $(GENDOC) 24 hg.1.gendoc.txt: $(GENDOC)
25 ${PYTHON} gendoc.py > $@.tmp 25 ${PYTHON} gendoc.py hg.1.gendoc > $@.tmp
26 mv $@.tmp $@ 26 mv $@.tmp $@
27 27
28 hgrc.5: ../mercurial/help/config.txt 28 hgrc.5: ../mercurial/help/config.txt
29 29
30 hgrc.5.html: ../mercurial/help/config.txt 30 hgrc.5.html: ../mercurial/help/config.txt