diff doc/Makefile @ 14459:323c11dad9c6

doc: rebuild hgrc.5 man and HTML page when help/config changes
author Martin Geisler <mg@lazybytes.net>
date Mon, 30 May 2011 11:14:31 +0200
parents 25200c7efe0f
children 81fbd4e66ff5
line wrap: on
line diff
--- 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 $*