Date: Wed, 13 Sep 1995 22:35:18 -0700 (PDT) From: "Rodney W. Grimes" <rgrimes@GndRsh.aac.dev.com> To: bde@zeta.org.au (Bruce Evans) Cc: jmb@kryten.atinc.com, current@freebsd.org Subject: Re: -stable: *** Error code ONLY one Message-ID: <199509140535.WAA06494@GndRsh.aac.dev.com> In-Reply-To: <199509140502.PAA09329@godzilla.zeta.org.au> from "Bruce Evans" at Sep 14, 95 03:02:29 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> > >> beforeinstall: > >> + rm -f ${DESTDIR}/etc/rmt > >> -ln -s ${BINDIR}/rmt ${DESTDIR}/etc/rmt > >> > >> .include <bsd.prog.mk> > >> > > >Correct method: > > > if [ ! -e ${DESTDIR}/etc/rmt]; then \ > > ln -s ${BINDIR}/rmt ${DESTDIR}/etc/rmt \ > > fi > > >It is not nice for make world to touch things in /etc, no matter what > >it is. The unsilent ignoreing of the error above was a quick hack > >by some one who did not bother to do it correctly. > > Really correct method: > > # -ln -s ${BINDIR}/rmt ${DESTDIR}/etc/rmt > > `make install' in /usr/src doesn't install /etc/rc so why should it > install /etc/rmt? Agreed, the above should be put in src/etc/Makefile and be a forced unconditional install of ${DESTDIR}/etc/rmt. -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Reliable computers for FreeBSD
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509140535.WAA06494>