Date: Fri, 18 Sep 1998 07:54:17 +1000 (EST) From: John Birrell <jb@cimlogic.com.au> To: karpen@ocean.campus.luth.se (Mikael Karpberg) Cc: jb@cimlogic.com.au, current@FreeBSD.ORG Subject: Re: 'make world' dying in sbin/atm/atm Message-ID: <199809172154.HAA10538@cimlogic.com.au> In-Reply-To: <199809171057.MAA06336@ocean.campus.luth.se> from Mikael Karpberg at "Sep 17, 98 12:57:08 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Mikael Karpberg wrote: > Would anyone care to fix that or should I look into it? > Is there a problem with fixing it? > How do you detect if the directory is empty in a nice way? > What is the question to 42? etc... The "simple" answer is to check if the ${MAKEOBJDIRPREFIX}/${OBJFORMAT} directory exists before the `mkdir -p' step that creates it. If it doesn't exist, don't do the recursive clean. This is only now possible because the top-level makefile sets MAKEOBJDIRPREFIX=${MAKEOBJDIRPREFIX}/${OBJFORMAT} and the NOOBJ option has been removed (probably against the wishes of some). -- John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/ CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809172154.HAA10538>