Add installation of the man page
authorPaul Borman <borman@ucbvax.Berkeley.EDU>
Wed, 23 Aug 1989 00:28:21 +0000 (16:28 -0800)
committerPaul Borman <borman@ucbvax.Berkeley.EDU>
Wed, 23 Aug 1989 00:28:21 +0000 (16:28 -0800)
SCCS-vsn: usr.bin/telnet/Makefile 1.15

usr/src/usr.bin/telnet/Makefile

index fe56d94..e488b77 100644 (file)
@@ -14,7 +14,7 @@
 # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
 # WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 #
 # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
 # WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 #
-#      @(#)Makefile    1.14 (Berkeley) %G%
+#      @(#)Makefile    1.15 (Berkeley) %G%
 #
 
 # The following is the telnet makefile.  The sources are down one level
 #
 
 # The following is the telnet makefile.  The sources are down one level
@@ -35,6 +35,7 @@ ALLHC=        ${SRCS} \
 
 OBJS=  commands.o main.o network.o ring.o sys_bsd.o sys_dos.o \
        telnet.o terminal.o tn3270.o utilities.o
 
 OBJS=  commands.o main.o network.o ring.o sys_bsd.o sys_dos.o \
        telnet.o terminal.o tn3270.o utilities.o
+MAN=   telnet.0
 
 all: telnet
 
 
 all: telnet
 
@@ -58,8 +59,9 @@ hclist:       FRC ${ALLHC}
 depend: FRC ${SRCS}
        mkdep ${CFLAGS} `make clist`
 
 depend: FRC ${SRCS}
        mkdep ${CFLAGS} `make clist`
 
-install: FRC
+install: ${MAN} FRC
        install -s -o bin -g bin -m 755 telnet ${DESTDIR}/usr/bin
        install -s -o bin -g bin -m 755 telnet ${DESTDIR}/usr/bin
+       install -c -o bin -g bin -m 444 telnet.0 ${DESTDIR}/usr/man/cat1
 
 lint: FRC ${SRCS}
        lint ${CFLAGS} `make clist`
 
 lint: FRC ${SRCS}
        lint ${CFLAGS} `make clist`