]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/Makefile.linux
rearrange, add pppoe
[ppp.git] / pppd / Makefile.linux
index 05bca94887f98bc4184c2de336156c62ea909f5a..64218a49f32af15c72161946870677de5ecfd306 100644 (file)
@@ -1,6 +1,6 @@
 #
 # pppd makefile for Linux
-# $Id: Makefile.linux,v 1.40 2000/08/01 01:44:48 paulus Exp $
+# $Id: Makefile.linux,v 1.42 2001/05/23 03:39:50 paulus Exp $
 #
 
 # Default installation locations
@@ -20,7 +20,7 @@ PPPDOBJS = main.o magic.o fsm.o lcp.o ipcp.o upap.o chap.o md5.o ccp.o \
 all: pppd
 
 #
-# include dependancies if present and backup if as a header file
+# include dependencies if present
 ifeq (.depend,$(wildcard .depend))
 include .depend
 endif
@@ -116,9 +116,9 @@ INSTALL= install -o root
 
 install: pppd
        mkdir -p $(BINDIR) $(MANDIR)
-       $(INSTALL) -s -c -m 4550 pppd $(BINDIR)/pppd
-       if chgrp pppusers $(BINDIR)/pppd 2>/dev/null; then \
-         chmod o+rx $(BINDIR)/pppd; fi
+       $(INSTALL) -s -c -m 555 pppd $(BINDIR)/pppd
+       if chgrp pppusers $(BINDIR)/pppd 2>/dev/null; then \
+         chmod o-rx,u+s $(BINDIR)/pppd; fi
        $(INSTALL) -c -m 444 pppd.8 $(MANDIR)/man8
 
 pppd: $(PPPDOBJS)