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

Re: Question about X build tactics.



On Sun, Dec 15, 2002 at 05:56:16PM +0100, Michel D?nzer wrote:
> On Son, 2002-12-15 at 16:28, Zephaniah E. Hull wrote:
> > Is there a big reason why lndir is not used instead of cp in the build
> > rules?
> > 
> > For reasons of disk space alone something along the lines of:
> > 
> >         mkdir $(SOURCE_TREE)
> >         lndir ../../$(SOURCE_TREE)-real $(SOURCE_TREE)/ ifndef NOT_BUILDING_X_SERVER
> >         # create source tree for static, debuggable XFree86 server
> >         mkdir $(SOURCE_TREE)-xserver-xfree86-dbg
> >         lndir ../../$(SOURCE_TREE)-real $(SOURCE_TREE)-xserver-xfree86-dbg/
> > 
> > Seems reasonable, are there any catches that I am missing?
> 
> I don't expect there to be, but if there are, cp -la should always work?

After trying it, the lndir thing seems to work perfectly.

It also saves over two hundred megs of disk space on the build target.
(Which, admittedly, is only a drop in the bucket for a 1.4G build tree,
however.)

Zephaniah E. Hull.

-- 
	1024D/E65A7801 Zephaniah E. Hull <warp@babylon.d2dc.net>
	   92ED 94E4 B1E6 3624 226D  5727 4453 008B E65A 7801
	    CCs of replies from mailing lists are requested.

"I would rather spend 10 hours reading someone else's source code than
10 minutes listening to Musak waiting for technical support which
isn't."
(By Dr. Greg Wettstein, Roger Maris Cancer Center)

Attachment: pgpwVh3PKTKFE.pgp
Description: PGP signature


Reply to: