# HG changeset patch
# User Martin Geisler <mg@aragost.com>
# Date 2010-11-04 16:52:40
# Node ID 6b6e7da9bccddf266bddbd5ed2315c855592426c
# Parent  1fab4970354e3c019651736275a62fcfa3e5b642

doc/Makefile: docs now also depend on extensions

After 0d09991f91ee the hg(1) manpage contains a section with help
extracted from the extensions, so we should depend on them too.

diff --git a/doc/Makefile b/doc/Makefile
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -1,7 +1,8 @@
 SOURCES=$(wildcard *.[0-9].txt)
 MAN=$(SOURCES:%.txt=%)
 HTML=$(SOURCES:%.txt=%.html)
-GENDOC=gendoc.py ../mercurial/commands.py ../mercurial/help.py ../mercurial/help/*.txt
+GENDOC=gendoc.py ../mercurial/commands.py ../mercurial/help.py \
+	../mercurial/help/*.txt ../hgext/*.py ../hgext/*/__init__.py
 PREFIX=/usr/local
 MANDIR=$(PREFIX)/share/man
 INSTALL=install -c -m 644