summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>1999-08-12 03:59:07 +0000
committerPaul Mackerras <paulus@samba.org>1999-08-12 03:59:07 +0000
commita8ac4606ea90b5951d701b303e0ddcb87934c9e1 (patch)
tree85cd7721422a4db7115e8c065d312a336350052b
parent5c4194f367dba10e9c6c2e2e6a5030f0d4b603a1 (diff)
downloadppp-a8ac4606ea90b5951d701b303e0ddcb87934c9e1.tar.gz
use $(INSTALL) not install
-rw-r--r--chat/Makefile.linux8
-rw-r--r--pppd/Makefile.linux8
2 files changed, 10 insertions, 6 deletions
diff --git a/chat/Makefile.linux b/chat/Makefile.linux
index bbc1e95..b0a14b9 100644
--- a/chat/Makefile.linux
+++ b/chat/Makefile.linux
@@ -1,4 +1,4 @@
-# $Id: Makefile.linux,v 1.7 1997/11/27 05:59:44 paulus Exp $
+# $Id: Makefile.linux,v 1.8 1999/08/12 03:56:21 paulus Exp $
CDEF1= -DTERMIOS # Use the termios structure
CDEF2= -DSIGTYPE=void # Standard definition
@@ -8,6 +8,8 @@ CDEFS= $(CDEF1) $(CDEF2) $(CDEF3) $(CDEF4)
CFLAGS= -O2 -pipe $(CDEFS)
+INSTALL= install
+
all: chat
chat: chat.o
@@ -18,8 +20,8 @@ chat.o: chat.c
install: chat
mkdir -p $(BINDIR)
- install -s -c chat $(BINDIR)
- install -c -m 644 chat.8 $(MANDIR)/man8
+ $(INSTALL) -s -c chat $(BINDIR)
+ $(INSTALL) -c -m 644 chat.8 $(MANDIR)/man8
clean:
rm -f chat.o chat *~
diff --git a/pppd/Makefile.linux b/pppd/Makefile.linux
index c72f3f7..67c012c 100644
--- a/pppd/Makefile.linux
+++ b/pppd/Makefile.linux
@@ -1,6 +1,6 @@
#
# pppd makefile for Linux
-# $Id: Makefile.linux,v 1.31 1999/05/13 00:35:14 paulus Exp $
+# $Id: Makefile.linux,v 1.32 1999/08/12 03:59:07 paulus Exp $
#
# Default installation locations
@@ -84,12 +84,14 @@ LIBS := -llock $(LIBS)
CFLAGS += -DLOCKLIB=1
endif
+INSTALL= install -o root
+
install: pppd
mkdir -p $(BINDIR) $(MANDIR)
- install -s -c -m 4550 -o root pppd $(BINDIR)/pppd
+ $(INSTALL) -s -c -m 4550 pppd $(BINDIR)/pppd
if ! chgrp pppusers $(BINDIR)/pppd 2>/dev/null; then \
chmod o+rx $(BINDIR)/pppd; fi
- install -c -m 444 -o root pppd.8 $(MANDIR)/man8
+ $(INSTALL) -c -m 444 pppd.8 $(MANDIR)/man8
pppd: $(PPPDOBJS)
$(CC) $(CFLAGS) -o pppd $(PPPDOBJS) $(LIBS)