On Fri, 13 Nov 1998, Nigel Metheringham wrote:
> The Makefile is already pretty heavily preprocessed. Could the support
> scripts do the evaluation and nail it into the generated Makefile??
Not easily. Currently Local/Makefile is processed by a simple sed
command which removes comments, blank lines, and trailing white space.
If it had to search for PERL_xxx options and play magic games with them
it would need a lot of messing about.
Or are you suggesting that it do something like this:
1. Abolish the PERL_CC, PERL_CCOPTS, PERL_LIBS settings in Local/Makefile.
2. The script that builds Makefile should grep for EXIM_PERL= something
in Local/Makefile, and if it finds it, it should run the commands to
append the evaluated PERL_CC etc. after the copy of Local/Makefile in
the real Makefile.
? That would be simpler, and sounds reasonably practical.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.
--
*** Exim information can be found at
http://www.exim.org/ ***