$NetBSD: patch-af,v 1.1.1.1 2001/04/27 12:27:06 agc Exp $

--- misc/Makefile.orig	Sun Apr  8 20:34:58 2001
+++ misc/Makefile	Sun Apr  8 20:36:29 2001
@@ -321,7 +321,8 @@
 list-html-codes:: list-html-codes.pl
 	$(RM) $@
 	echo "#!"$(PERLPATH) > $@
-	$(MSUB) list-html-codes.pl >> $@
+	$(CAT) list-html-codes.pl >> $@
+#	$(MSUB) list-html-codes.pl >> $@
 	$(CHMOD) a+x $@
 
 clean::
@@ -340,7 +341,8 @@
 list-specials:: list-specials.pl
 	$(RM) $@
 	echo "#!"$(PERL5PATH) > $@
-	$(MSUB) list-specials.pl >> $@
+	$(SED) <list-specials.pl >> $@ "s|\$$(TOP)|$(TOP)|"
+#	$(MSUB) list-specials.pl >> $@
 	$(CHMOD) a+x $@
 
 clean::
@@ -359,7 +361,8 @@
 chk-specials:: chk-specials.pl
 	$(RM) $@
 	echo "#!"$(PERL5PATH) > $@
-	$(MSUB) chk-specials.pl >> $@
+	$(SED) <chk-specials.pl >> $@ "s|\$$(TOP)|$(TOP)|"
+#	$(MSUB) chk-specials.pl >> $@
 	$(CHMOD) a+x $@
 
 clean::
