doc: rebuild hgrc.5 man and HTML page when help/config changes
authorMartin Geisler <mg@lazybytes.net>
Mon, 30 May 2011 11:14:31 +0200
changeset 14459 323c11dad9c6
parent 14458 c62b3b74f1d2
child 14460 d5f616132c10
doc: rebuild hgrc.5 man and HTML page when help/config changes
doc/Makefile
--- a/doc/Makefile	Mon May 30 10:35:43 2011 +0200
+++ b/doc/Makefile	Mon May 30 11:14:31 2011 +0200
@@ -25,6 +25,10 @@
 	${PYTHON} gendoc.py > $@.tmp
 	mv $@.tmp $@
 
+hgrc.5: ../mercurial/help/config.txt
+
+hgrc.5.html: ../mercurial/help/config.txt
+
 %: %.txt common.txt
 	$(PYTHON) runrst hgmanpage $(RSTARGS) --halt warning \
 	  --strip-elements-with-class htmlonly $*.txt $*