$NetBSD: patch-aa,v 1.3 2000/03/24 17:56:51 jlam Exp $ --- Makefile.in.orig Wed Jan 31 21:05:40 1996 +++ Makefile.in Fri Mar 24 09:50:06 2000 @@ -11,10 +11,11 @@ YACC = @YACC@ +prefix = ${PREFIX} # where to put mawk -BINDIR = @BINDIR@ +BINDIR = $(prefix)/bin # where to put the man pages -MANDIR = @MANDIR@ +MANDIR = $(prefix)/man/man1 MANEXT = @MANEXT@ ####################################### @@ -32,6 +33,7 @@ rexp/rexp3.c +all: mawk_and_test mawk_and_test : mawk mawk_test fpe_test mawk : $(O) rexp/.done @@ -74,10 +76,8 @@ MAWKMAN = $(MANDIR)/mawk.$(MANEXT) install : mawk - cp mawk $(BINDIR) - chmod 0755 $(BINDIR)/mawk - cp man/mawk.1 $(MAWKMAN) - chmod 0644 $(MAWKMAN) + ${BSD_INSTALL_PROGRAM} mawk $(BINDIR) + ${BSD_INSTALL_MAN} man/mawk.1 $(MAWKMAN) clean : rm -f *.o rexp/*.o rexp/.done test/mawk core test/core mawk