blob: b07584f6e451784ed55b92715237673aabf81a85 (
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
|
$NetBSD: patch-aa,v 1.7 2008/06/20 01:09:29 joerg Exp $
--- Makefile.orig 1995-07-21 01:03:30.000000000 +0100
+++ Makefile 2003-09-22 16:14:32.878633434 +0100
@@ -1,9 +1,8 @@
#
# Makefile,v 1.4 1995/07/21 00:03:30 pb Exp
#
-MANDIR=/usr/local/man
-BINDIR=/usr/local/bin
-INSTALL=install -c
+MANDIR=${PREFIX}/man
+BINDIR=${PREFIX}/bin
GROFF=groff
NROFF=nroff
RM=/bin/rm
@@ -16,7 +15,7 @@
dist: clean bing.0 bing.ps
bing: bing.c sysdep.h
- $(CC) $(CFLAGS) $(CLIBS) -o $@ bing.c
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ bing.c
bing.ps: bing.8
$(GROFF) -mandoc bing.8 > bing.ps
@@ -28,5 +27,5 @@
$(RM) -f bing bing.ps bing.0
install: bing bing.8
- $(INSTALL) -m 644 -o man -g man bing.8 $(MANDIR)/man8
- $(INSTALL) -m 4555 -o root -g staff bing $(BINDIR)
+ $(BSD_INSTALL_MAN) bing.8 ${DESTDIR}$(MANDIR)/man8
+ $(BSD_INSTALL_PROGRAM) bing ${DESTDIR}$(BINDIR)
|