From cf696539f5c11aef90af7ecfdce2be6f10a72806 Mon Sep 17 00:00:00 2001 From: Keith Bostic Date: Sun, 5 Mar 1989 23:44:47 -0800 Subject: [PATCH] conditional install SCCS-vsn: old/mkhosts/Makefile 5.2 --- usr/src/old/mkhosts/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/usr/src/old/mkhosts/Makefile b/usr/src/old/mkhosts/Makefile index 2d05c15341..3d0c716a82 100644 --- a/usr/src/old/mkhosts/Makefile +++ b/usr/src/old/mkhosts/Makefile @@ -14,7 +14,7 @@ # WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND # FITNESS FOR A PARTICULAR PURPOSE. # -# @(#)Makefile 5.1 (Berkeley) %G% +# @(#)Makefile 5.2 (Berkeley) %G% # CFLAGS= -O @@ -40,8 +40,9 @@ depend: ${SRCS} mkdep -p ${CFLAGS} ${SRCS} install: ${MAN} - install -s -o bin -g bin -m 755 mkhosts ${DESTDIR}/etc - install -c -o bin -g bin -m 444 ${MAN} ${DESTDIR}/usr/man/cat8 + install -c -o bin -g bin -m 444 ${MAN} ${DESTDIR}/usr/man/cat8; + -if [ -f mkhosts ]; then \ + install -s -o bin -g bin -m 755 mkhosts ${DESTDIR}/etc; fi lint: ${SRCS} lint ${CFLAGS} ${SRCS} -- 2.20.1