blob: 737c79344753161bc7df04189828776581695994 (
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 2001/05/31 10:54:21 agc Exp $
--- Makefile.orig Tue Jan 31 21:15:22 1995
+++ Makefile
@@ -68,12 +68,15 @@
# [13-Sep-1993]
#=======================================================================
-DEST = /usr/local
+DEST = $(PREFIX)
BINDIR = $(DEST)/bin
CATDIR = $(DEST)/man/cat1
+INSTALL_PROGRAM = $(BSD_INSTALL_PROGRAM)
+INSTALL_MAN = $(BSD_INSTALL_MAN)
+
# Compilation with a C++ compiler is preferable. SunOS 4.1 CC cannot be
# used, however, because of its erroneous function prototypes in stdlib.h
# which use char* instead of void* in many places. There is no such
@@ -243,16 +246,10 @@
-$(RM) TAGS
install: bibindex biblook
- -$(CP) bibindex $(BINDIR)
- -$(STRIP) $(BINDIR)/bibindex
- -chmod 775 $(BINDIR)/bibindex
- -$(CP) biblook $(BINDIR)
- -$(STRIP) $(BINDIR)/biblook
- -chmod 775 $(BINDIR)/biblook
- -$(CP) bibindex.man $(MANDIR)/bibindex.$(MANEXT)
- -chmod 774 $(MANDIR)/bibindex.$(MANEXT)
- -$(CP) biblook.man $(MANDIR)/biblook.$(MANEXT)
- -chmod 774 $(MANDIR)/biblook.$(MANEXT)
+ $(INSTALL_PROGRAM) bibindex $(BINDIR)
+ $(INSTALL_PROGRAM) biblook $(BINDIR)
+ $(INSTALL_MAN) bibindex.man $(MANDIR)/bibindex.$(MANEXT)
+ $(INSTALL_MAN) biblook.man $(MANDIR)/biblook.$(MANEXT)
install-ftp: $(FTPFILES)
-for f in $? ; \
|