automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sub-make environment


From: Too, Justin A.
Subject: Sub-make environment
Date: Fri, 15 Apr 2011 14:54:47 -0700
User-agent: Microsoft-MacOutlook/14.2.0.101115

Hi all,

I'm trying to communicate environment variables to a sub-make.  I'm aware of 
the Make 'export' directive, but this just creates a Makefile variable in a 
Sub-make, right?  I would like a Sub-make to have the same shell PYTHONPATH and 
CLASSPATH environment variables set, for example.  I'm using an executable that 
is generated during 'make' to run tests during 'make check' and this executable 
requires certain environment variables to be set (that point to paths generated 
during 'make').  If I could set these things at the top-level 'make check', 
that would be great.  For now, I created a wrapper for the executable that 
basically does the necessary environment setup and then runs the executable.

Thanks,
Justin


reply via email to

[Prev in Thread] Current Thread [Next in Thread]