[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-tech-toolchain
Subject:    Re: Excising Check_Cwd* from make.
From:       "Simon J. Gerraty" <sjg () crufty ! net>
Date:       2003-08-02 0:33:48
[Download RAW message or body]

>I seem to recall that this was a hack to detect Makefiles that
>did this:

>	target:
>		${MAKE} other-target

>when they should really have done this:

>	target:
>		cd ${.CURDIR} && ${MAKE} other-target

Correct.  This was not a problem in Makefiles that expected an objdir to 
exist, but when using MAKEOBJDIRPREFIX intermediate directories also get
objdirs and many of those did not cater for it.

>As far as I know, the NetBSD source tree doesn't contain any such broken
>Makefiles.  But perhaps pkgsrc or third party sources would still benefit
>from this hack?

I suspect not.

Thanks
--sjg

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic