tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: chown in /sbin



On Tue, Jan 11, 2011 at 10:02:38PM +0200, Alan Barrett wrote:
> On Tue, 11 Jan 2011, der Mouse wrote:
> > How much of a mess would it be to (say) have /usr/src/usr.sbin/foo
> > build a binary which gets installed into /bin/foo?  (Of course it's
> > possible; it's just a question of how easy it would be.)
> 
> It's very easy; just add BINDIR=/bin to src/usr.sbin/foo/Makefile,
> and it will install /bin/foo instead of installing /usr/sbin/foo.
> 
> I recommend *not* doing this, because it would be confusing for humans
> using the source tree.

However it does avoid 'losing' all the cvs history.

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index