Subject: Setting a make variable based on sh variable
To: None <tech-pkg@netbsd.org>
From: Mark Davies <mark@mcs.vuw.ac.nz>
List: tech-pkg
Date: 06/18/2004 16:08:12
In either Berkeley make or GNU make how can I set a make variable to the value 
of a particular shell variable after having sourced a particular shell 
script?

That is to say how do I get the result of:

	sh -c (. /usr/pkg/lib/tclConfig.sh; echo $TCL_LIBS)

into a make variable?

cheers
mark