``make install'' should not install the symlink /usr/sbin/rmt -> /etc/rmt

Only ``make distribution'' in src/etc/Makefile overrides things in /etc

Pointed out by: joerg
This commit is contained in:
Wolfram Schneider 1996-08-18 11:05:08 +00:00
parent 4dbc40f9a5
commit 4b2b2ee3e1
2 changed files with 6 additions and 3 deletions

View File

@ -1,5 +1,5 @@
# from: @(#)Makefile 5.11 (Berkeley) 5/21/91
# $Id: Makefile,v 1.140 1996/08/14 14:41:56 jkh Exp $
# $Id: Makefile,v 1.141 1996/08/17 22:27:03 wosch Exp $
# -rw-r--r--
BINOWN= root
@ -61,6 +61,7 @@ distribution:
( cd ${.CURDIR}/../gnu/libexec/uucp/sample; ${MAKE} install ); \
( cd ${.CURDIR}/../usr.bin/file; ${MAKE} etc-magic ); \
( cd ${.CURDIR}/../share/termcap; ${MAKE} etc-termcap ); \
( cd ${.CURDIR}/../usr.sbin/rmt; ${MAKE} etc-rmt ); \
pwd_mkdb -p -d ${DESTDIR}/etc ${DESTDIR}/etc/master.passwd; \
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 \
MAKEDEV.local etc.${MACHINE}/MAKEDEV ${DESTDIR}/dev )

View File

@ -3,7 +3,9 @@
PROG= rmt
MAN8= rmt.8
beforeinstall:
-ln -s ${BINDIR}/rmt ${DESTDIR}/etc/rmt
# called from /usr/src/etc/Makefile
etc-rmt:
rm -f ${DESTDIR}/etc/rmt
ln -s ${BINDIR}/rmt ${DESTDIR}/etc/rmt
.include <bsd.prog.mk>