Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Feb 1995 18:47:08 -0800 (PST)
From:      "Rodney W. Grimes" <rgrimes@gndrsh.aac.dev.com>
To:        joerg_wunsch@uriah.heep.sax.de
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: world build on blues Tue Feb 21 18:35:26  1995 (fwd)
Message-ID:  <199502220247.SAA23225@gndrsh.aac.dev.com>
In-Reply-To: <199502220134.CAA01052@uriah.heep.sax.de> from "J Wunsch" at Feb 22, 95 02:34:00 am

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> As Christoph Kukulies wrote:
> > 
> > > ===> usr.sbin/rmt
> > > ln -s /usr/sbin/rmt /etc/rmt
> > > ln: /etc/rmt: File exists
> 
> Hmm, Jordan: make this
> 
> 	rm -f /etc/rmt
> 	ln -s /usr/sbin/rmt /etc/rmt
> 
> or just
> 
> 	-ln -s /usr/sbin/rmt /etc/rmt

Or correctly make it:
	ln -sf /usr/sbin/rmt ${DESTDIR}/etc/rmt

and move this command to /usr/src/etc/Makefile distribution: target.

Actually I am thinking along the lines that we should possible add
the target install_etc: to the various Makefile's that want to drop stuff
in /etc and have /usr/src/etc/Makefile do call backs to the other
Makefiles with something like this:

ETC_MAKEFILES=	share/termcap usr.sbin/rmt ...

distribution:
	...
	for i in ${ETC_MAKEFILES}; do \
		cd ${.CURDIR}/../$i; \
		${MAKE} install_etc; \
	done
	...

With this in place we could almost empty /usr/src/etc., config files
would be back with the sources that use them (more likely to keep up
to date that way).

-- 
Rod Grimes                                      rgrimes@gndrsh.aac.dev.com
Accurate Automation Company                   Custom computers for FreeBSD



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