doc/Makefile
changeset 9162 2399362b3bb0
parent 9161 e8b653a4b8da
child 9400 a6747ba27d22
--- a/doc/Makefile	Thu Jul 16 23:25:26 2009 +0200
+++ b/doc/Makefile	Thu Jul 16 23:25:26 2009 +0200
@@ -20,14 +20,14 @@
 hg.1.gendoc.txt: gendoc.py ../mercurial/commands.py ../mercurial/help.py
 	${PYTHON} gendoc.py > $@
 
-%: %.txt
+%: %.txt common.txt
 	# add newline after all literal blocks and fix backslash escape
 	$(RST2MAN) $*.txt \
 	  | sed -e 's/^\.fi$$/.fi\n/' \
 	  | sed -e 's/\\fB\\\\fP/\\fB\\e\\fP/' \
 	  > $*
 
-%.html: %.txt
+%.html: %.txt common.txt
 	$(RST2HTML) $*.txt > $*.html
 
 MANIFEST: man html