From a8ac4606ea90b5951d701b303e0ddcb87934c9e1 Mon Sep 17 00:00:00 2001 From: Paul Mackerras Date: Thu, 12 Aug 1999 03:59:07 +0000 Subject: [PATCH] use $(INSTALL) not install --- chat/Makefile.linux | 8 +++++--- pppd/Makefile.linux | 8 +++++--- 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) -- 2.39.2