$NetBSD: patch-aa,v 1.1.1.1 2000/12/27 23:15:51 hubertf Exp $ --- Makefile.orig Wed Dec 27 23:23:40 2000 +++ Makefile @@ -1,7 +1,7 @@ # Makefile for newsfetch program CC = gcc -BINDIR = /usr/local/bin -MANDIR = /usr/local/man/man1 +BINDIR = ${PREFIX}/bin +MANDIR = ${PREFIX}/man/man1 CFLAGS= -O2 # inline opt @@ -25,10 +25,8 @@ rm -f *.o newsfetch install: -# cp newsfetch $(BINDIR)/newsfetch -# cp newsfetch.1 $(MANDIR)/newsfetch.1 - cp newsfetch /usr/local/bin - cp newsfetch.1 /usr/local/man/man1 + cp newsfetch $(BINDIR)/newsfetch + cp newsfetch.1 $(MANDIR)/newsfetch.1 uninstall: rm -f $(BINDIR)/newsfetch