]> git.ozlabs.org Git - ppp.git/commitdiff
install man page, defaults for BINDIR and MANDIR
authorPaul Mackerras <paulus@samba.org>
Thu, 1 Jun 1995 01:32:56 +0000 (01:32 +0000)
committerPaul Mackerras <paulus@samba.org>
Thu, 1 Jun 1995 01:32:56 +0000 (01:32 +0000)
chat/Makefile.ultrix
pppstats/Makefile.ultrix

index e6a3ef3ba0454af1c512f5c71620aa043792b4b1..a5d2b1f99e8389c27355e153a2e5224faf1dacbb 100644 (file)
@@ -2,6 +2,9 @@
 # Makefile for chat with ultrix
 #
 
+BINDIR = /usr/local/etc
+MANDIR = /usr/local/man
+
 CFLAGS = -DNO_USLEEP
 
 all:   chat
@@ -11,6 +14,7 @@ chat: chat.o
 
 install: chat
        install -c chat $(BINDIR)/chat
+       install -c -m 444 chat.8 $(MANDIR)/man8/chat.8
 
 clean:
        rm -f *~ *.o chat
index 3d856fe1efa39d209df247ed8578ec335068f6b9..063a41e0e4fa416036b078f7918ae7510344bffb 100644 (file)
@@ -1,8 +1,11 @@
 #
 # pppstats makefile
-# $Id: Makefile.ultrix,v 1.3 1995/04/28 06:23:39 paulus Exp $
+# $Id: Makefile.ultrix,v 1.4 1995/06/01 01:32:56 paulus Exp $
 #
 
+BINDIR = /usr/local/etc
+MANDIR = /usr/local/man
+
 PPPSTATSRCS = pppstats.c
 PPPSTATOBJS = pppstats.o
 
@@ -17,6 +20,7 @@ all: pppstats
 
 install: pppstats
        install -c pppstats $(BINDIR)/pppstats
+       install -c -m 444 pppstats.8 $(MANDIR)/man8/pppstats.8
 
 pppstats: $(PPPSTATSRCS)
        $(CC) $(CFLAGS) -o pppstats pppstats.c $(LIBS)