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

List:       freebsd-hackers
Subject:    make -C and ${.CURDIR}
From:       Jos Backus <jos () catnook ! com>
Date:       2002-12-28 23:53:16
[Download RAW message or body]

Consider:

    lizzy:/tmp% cat foo/Makefile 
    bar:
	    @echo curdir is ${.CURDIR}
    lizzy:/tmp% make -C foo bar
    curdir is /tmp
    lizzy:/tmp% 

Would it not make more sense for .CURDIR to be set to /tmp/foo? As it stands,

    /tmp# make -C /usr/src world

fails because of this.

-- 
Jos Backus                       _/  _/_/_/      Sunnyvale, CA
                                _/  _/   _/
                               _/  _/_/_/
                          _/  _/  _/    _/
jos at catnook.com        _/_/   _/_/_/          require 'std/disclaimer'

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
[prev in list] [next in list] [prev in thread] [next in thread] 

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