Date: Tue, 25 Jun 1996 21:20:47 -0600 (MDT) From: Nate Williams <nate@mt.sri.com> To: "Jordan K. Hubbard" <jkh@time.cdrom.com> Cc: Nate Williams <nate@mt.sri.com>, Bruce Evans <bde@zeta.org.au>, freebsd-current@freebsd.org, nate@sri.MT.net Subject: Re: Building inside of /usr/src? Message-ID: <199606260320.VAA02231@rocky.mt.sri.com> In-Reply-To: <16051.835759081@time.cdrom.com> References: <199606260212.UAA01934@rocky.mt.sri.com> <16051.835759081@time.cdrom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> See my other reply for what I feel to be a reasonable "final position" > on this. If someone cares to do this better, I'm not wedded to my own > implementation. Just don't bring back: > > @echo "--------------------------------------------------------------" > @echo " Cleaning up the source tree, and rebuilding the obj tree" > @echo "--------------------------------------------------------------" > @echo > here=`pwd`; dest=/usr/obj`echo $$here | sed 's,^/usr/src,,'`; \ > if test -d /usr/obj -a ! -d $$dest; then \ > mkdir -p $$dest; \ > else \ > true; \ > fi; \ > cd $$dest && rm -rf ${SUBDIR} > find . -name obj | xargs rm -rf > > Whatever you do, PLEASE! How is this any different from what you're doing now? Nate
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606260320.VAA02231>