Hi list.

not really alinux question, but if you please -
I'm writing a Makefile to build some project, and it needs to get some data 
from environment variables. specificly some variables that are initialized 
from a profile.d bash file. now I know that I can access environment 
variables from make using ${NAME}, but the problem is that sometimes the 
Makefile is run with no environment set - specificly, when being invoked as a 
post-commit script in CVS when called by a windows CVS client. is it possible 
to somehow 'source' a specified bash file to export its environment into a 
Makefile from withing the make process ? 
Everything I tried so far failed (which mostly involved treating a Makefile as 
a glorified bash script - which apparently it isn't).

--
Oded 

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to