summaryrefslogtreecommitdiff
path: root/net/tcpslice/files/patch-aa
blob: ff0b68751fc51e495b6bce592cc814fa89b21499 (plain) (blame)
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
--- Makefile.in.orig	Mon Sep  3 15:01:12 2001
+++ Makefile.in	Mon Apr 15 16:54:29 2002
@@ -27,9 +27,9 @@
 prefix = @prefix@
 exec_prefix = @exec_prefix@
 # Pathname of directory to install the binary
-BINDEST = @sbindir@
+BINDIR = @sbindir@
 # Pathname of directory to install the man page
-MANDEST = @mandir@
+MANDIR = @mandir@
 
 # VPATH
 srcdir = @srcdir@
@@ -55,6 +55,8 @@
 LIBS = @LIBS@
 
 INSTALL = @INSTALL@
+INSTALL_PROGRAM=@INSTALL_PROGRAM@
+INSTALL_DATA=@INSTALL_DATA@
 
 # Explicitly define compilation rule since SunOS 4's make doesn't like gcc.
 # Also, gcc does not remove the .o before forking 'as', which can be a
@@ -97,11 +99,8 @@
 	sed -e 's/.*/char version[] = "&";/' $(srcdir)/VERSION > $@
 
 install: force
-	$(INSTALL) -m 555 -o bin -g bin tcpslice $(DESTDIR)$(BINDEST)
-
-install-man: force
-	$(INSTALL) -m 444 -o bin -g bin $(srcdir)/$(PROG).1 \
-	    $(DESTDIR)$(MANDEST)/man1
+	$(INSTALL_PROGRAM) -m 755 tcpslice $(DESTDIR)$(BINDIR)
+	$(INSTALL_DATA) tcpslice.1 $(DESTDIR)$(MANDIR)/man1
 
 lint: $(GENSRC) force
 	lint -hbxn $(SRC) | \