``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:
parent
4dbc40f9a5
commit
4b2b2ee3e1
@ -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 )
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user