$NetBSD: patch-aa,v 1.4 2007/01/02 16:52:00 minskim Exp $

--- doc/Makefile.orig	2006-12-17 17:02:33.000000000 -0800
+++ doc/Makefile
@@ -1,4 +1,4 @@
-SOURCES=$(wildcard *.[0-9].txt)
+SOURCES=hg.1.txt hgignore.5.txt hgmerge.1.txt hgrc.5.txt
 MAN=$(SOURCES:%.txt=%)
 HTML=$(SOURCES:%.txt=%.html)
 PREFIX=/usr/local
@@ -15,7 +15,7 @@ hg.1.txt: hg.1.gendoc.txt
 	touch hg.1.txt
 
 hg.1.gendoc.txt: ../mercurial/commands.py ../mercurial/help.py
-	python gendoc.py > $@
+	${PYTHONBIN} gendoc.py > $@
 
 %: %.xml
 	xmlto man $*.xml
