X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=svr4%2FMakefile.top;h=c9d7eb577b66051ea835fdab46a81edaa2721805;hp=ac0baa5415039fbef54e6090678366f2027adb28;hb=680fa929dbf9f78a9c08e7c627e90a5574275ffc;hpb=f8d05a1667af0c81e7c517466d870686afff0a54 diff --git a/svr4/Makefile.top b/svr4/Makefile.top index ac0baa5..c9d7eb5 100644 --- a/svr4/Makefile.top +++ b/svr4/Makefile.top @@ -1,7 +1,7 @@ # # ppp top level makefile for Solaris 2 # -# $Id: Makefile.top,v 1.2 1995/06/01 02:23:09 paulus Exp $ +# $Id: Makefile.top,v 1.4 1996/09/14 05:12:31 paulus Exp $ # BINDIR = /usr/local/bin @@ -28,9 +28,7 @@ install-etcppp: $(ETCDIR) $(ETCDIR)/options $(ETCDIR)/pap-secrets \ $(ETCDIR)/chap-secrets $(ETCDIR)/options: - if netstat -rn | grep default >/dev/null; then \ - cp etc.ppp/options $@; \ - else cp etc.ppp/options.leaf $@; fi + cp etc.ppp/options $@ chmod go-w $@ $(ETCDIR)/pap-secrets: $(INSTALL) -f $(ETCDIR) -m 600 etc.ppp/pap-secrets @@ -38,11 +36,11 @@ $(ETCDIR)/chap-secrets: $(INSTALL) -f $(ETCDIR) -m 600 etc.ppp/chap-secrets $(BINDIR): - $(INSTALL) -d -m 755 $@ + mkdir -m 755 -p $@ $(MANDIR)/man8: - $(INSTALL) -d -m 755 $@ + mkdir -m 755 -p $@ $(ETCDIR): - $(INSTALL) -d -m 755 $@ + mkdir -m 755 -p $@ clean: rm -f *~