$NetBSD: patch-ac,v 1.1.1.1 2002/05/31 13:00:43 seb Exp $

--- Makefile.in.orig	Tue Jun  8 10:04:26 1999
+++ Makefile.in	Tue Jun  8 10:08:26 1999
@@ -60,9 +60,9 @@
 exec_prefix=$(prefix)
 
 # Prefix for installed program, normally empty or `g'.
-binprefix=
+binprefix=j
 # Prefix for installed man page, normally empty or `g'.
-manprefix=
+manprefix=j
 
 # Where to install executables.
 bindir=$(exec_prefix)/bin
@@ -100,7 +100,7 @@
 	cd $(bindir); $(LN) $(binprefix)grep $(binprefix)egrep
 	rm -f $(bindir)/$(binprefix)fgrep
 	cd $(bindir); $(LN) $(binprefix)grep $(binprefix)fgrep	
-	$(INSTALL_DATA) $(srcdir)/grep.man $(mandir)/grep.$(manext)
+	$(INSTALL_DATA) $(srcdir)/grep.man $(mandir)/$(manprefix)grep.$(manext)
 
 check:
 	AWK=$(AWK) sh $(srcdir)/tests/check.sh $(srcdir)/tests
