Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 May 1996 12:25:05 +0200
From:      Wolfram Schneider <wosch@campa.panke.de>
To:        "Julian H. Stacey" <jhs@freebsd.org>
Cc:        current@freebsd.org
Subject:   diff for current src/usr.sbin/rmt/Makefile
Message-ID:  <199605141025.MAA00308@campa.panke.de>
In-Reply-To: <199605131219.OAA02729@vector.jhs.no_domain>
References:  <199605131219.OAA02729@vector.jhs.no_domain>

next in thread | previous in thread | raw e-mail | index | archive | help
Julian H. Stacey writes:
>Here's a diff for src/ tree to prevent a spurious error report in 
>make transcripts.  Feel free to abbreviate it :-)

>--- new/src/usr.sbin/rmt/Makefile	Mon May 13 14:06:13 1996
>  beforeinstall:
>! 	@if test -e ${DESTDIR}/etc/rmt ;  then			\
>! 		echo "Pre-existant ${DESTDIR}/etc/rmt" ;	\
>! 		ls -l ${DESTDIR}/etc/rmt ;			\
>! 	else 							\
>! 		echo -n "Creating symbolic link " ;		\
>! 		echo "${DESTDIR}/etc/rmt --> ${BINDIR}/rmt" ;	\
>! 		ln -s ${BINDIR}/rmt ${DESTDIR}/etc/rmt ;	\
>! 	fi

should be

.if exists(${DESTDIR}/etc/rmt)
	@${ECHO} ...
[...]
.else
[...]
.endif


And the consensus was that only etc/Makefile change something
in /etc.

Wolfram



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605141025.MAA00308>