A style proposal for referring to upper-level directories in Makefiles

Poul-Henning Kamp phk at phk.freebsd.dk
Fri Jul 29 07:42:32 UTC 2011


In message <4E31AED9.4000105 at aldan.algebra.com>, "Mikhail T." writes:
>The most common method to refer to the upper directory in Makefile is as 
>${.CURDIR}/..
>
>I'd like to propose we begin using ${.CURDIR:H} instead. 

This will make it even harder for people who try to compile our
bits on alien systems without bmake.

I am not sure if that is a concern we should care about.


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-hackers mailing list