[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: unexport not working?
From: |
Philip Guenther |
Subject: |
Re: unexport not working? |
Date: |
Fri, 24 Apr 2009 13:53:06 -0700 |
On Fri, Apr 24, 2009 at 1:40 AM, Jay Foad <address@hidden> wrote:
> unexport doesn't seem to work for me:
...
> $ make --no-print-directory -f A FOO=hello
Since it's a command-line assignment, FOO is passed to the recursive
make invocation via the MAKEFLAGS variable and not just via the
environment. It would work as you expect if you invoked make like
this:
FOO=hello make --no-print-directory -f A
where FOO is passed to the initial make just via the environment.
Check out section "5.7.3 Communicating Options to a Sub-`make'" of the
make info pages for details.
Philip Guenther