$NetBSD: patch-aa,v 1.3 2006/12/11 23:15:56 wiz Exp $

--- doc/Makefile.orig	2006-10-18 05:20:49.000000000 +0000
+++ 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
-	python gendoc.py > $@
+	${PYTHONBIN} gendoc.py > $@
 
 %: %.xml
 	xmlto man $*.xml
