blob: 6c1291f420ae958236591c25d7470c88fecd6eee (
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
|
$NetBSD: patch-aa,v 1.2 2004/11/25 05:01:21 kim Exp $
--- Makefile.orig 1999-09-14 23:15:12.000000000 -0400
+++ Makefile 2004-11-24 23:50:46.000000000 -0500
@@ -5,11 +5,7 @@
#
SHELL = /bin/sh
-RM = rm -f
-MV = mv -f
-INSTALL = install
-
-DEST = /usr/local
+DEST = $(PREFIX)
BINDIR = $(DEST)/bin
MANDIR = $(DEST)/man/man$(MANEXT)
MANEXT = 1
@@ -74,12 +70,9 @@
inst-all: install install.man
install:
- -$(MV) $(BINDIR)/netname $(BINDIR)/netname.old
- -$(RM) $(BINDIR)/netname.old
$(INSTALL) -c -s -m 0555 netname $(BINDIR)
install.man:
- -$(RM) $(MANDIR)/netname.$(MANEXT)
$(INSTALL) -c -m 0444 netname.man $(MANDIR)/netname.$(MANEXT)
clean:
|