Hi,

On Sat, Dec 03, 2005 at 01:29:27PM +0100, Jonas Smedegaard wrote:
> Package: cpad-kernel-source
> Severity: important
> Tags: patch
> 
> The following command should work:
> 
> KSRC=/usr/src/linux-headers-2.6.14-2-386 KPKG_DEST_DIR="\$(CURDIR)/.." 
> KDREV="0.99.jones1" fakeroot debian/rules kdist_configure kdist_image

I'm not sure if that is strictly true.  The following should work:

> fakeroot debian/rules kdist_configure kdist_image 
> KSRC=/usr/src/linux-headers-2.6.14-2-386 KPKG_DEST_DIR="\$(CURDIR)/.." 
> KDREV="0.99.jones1"

As should the line you gave if the '-e' option was also passed to make.

But I have some question as to whether what you first tried should
work by default or not.  My best authority at this stage, runs something
like:

 6.9 Variables from the Environment
 ==================================

 Variables in `make' can come from the environment in which `make' is
 run.  Every environment variable that `make' sees when it starts up is
 transformed into a `make' variable with the same name and value.  But
 an explicit assignment in the makefile, or with a command argument,
 overrides the environment.  (If the `-e' flag is specified, then values
 from the environment override assignments in the makefile.  *Note
 Summary of Options: Options Summary.  But this is not recommended
 practice.)

Which seems to indicate this is intentional and preferred behaviour
that we should not mess with lightly (and hence there is no bug
here at all) -- but I'll take arguments as to why this variable
is special and should be taken from the environment by default.
Along with a list of what others should receive similar red-carpet
treatment if any should.

cheers,
Ron




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to