blob: 95320a3ed4748aaecf43dbd970e739ad8be65985 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
$NetBSD: patch-aa,v 1.1.1.1 2003/08/31 09:37:51 cjep Exp $
--- Makefile.orig 2003-07-20 14:45:41.000000000 +0100
+++ Makefile
@@ -2,16 +2,18 @@
-PROG= grep
+PROG= bgrep
SRCS= binary.c file.c grep.c mmfile.c queue.c util.c
-LINKS= ${BINDIR}/grep ${BINDIR}/egrep \
- ${BINDIR}/grep ${BINDIR}/fgrep \
- ${BINDIR}/grep ${BINDIR}/zgrep \
- ${BINDIR}/grep ${BINDIR}/zegrep \
- ${BINDIR}/grep ${BINDIR}/zfgrep
-
-MLINKS= grep.1 egrep.1 \
- grep.1 fgrep.1 \
- grep.1 zgrep.1 \
- grep.1 zegrep.1 \
- grep.1 zfgrep.1
+PREFIX?= /usr/local
+
+LINKS= ${BINDIR}/bgrep ${BINDIR}/ebgrep \
+ ${BINDIR}/bgrep ${BINDIR}/fbgrep \
+ ${BINDIR}/bgrep ${BINDIR}/zbgrep \
+ ${BINDIR}/bgrep ${BINDIR}/zebgrep \
+ ${BINDIR}/bgrep ${BINDIR}/zfbgrep
+
+MLINKS= bgrep.1 ebgrep.1 \
+ bgrep.1 fbgrep.1 \
+ bgrep.1 zbgrep.1 \
+ bgrep.1 zebgrep.1 \
+ bgrep.1 zfbgrep.1
@@ -19,2 +21,6 @@ LDADD= -lz
+MANDIR=${PREFIX}/man
+BINDIR=${PREFIX}/bin
+MKCATPAGES=no
+
WARNS=2
|