A
A. Farber
Hi,
I have a question not related to Perl's syntax, but to its usage.
I have a script which generates GNU Makefiles out of a bigger
number of input files. With that script I'd also like to
set environment variables for a build - so that I have one
big all-in-one script.
With Unix that's easy - I'll let the users call my script as
eval `create_makefiles.pl` in sh
and
eval `create_makefiles.pl -c` in csh
and generate export/setenv commands when called this way.
But what could I do to make it also work on Windows?
(in a DOS-window, not in Cygwin) Does anybody solve this
problem already or knows a module doing similar things?
Thanks
Alex
I have a question not related to Perl's syntax, but to its usage.
I have a script which generates GNU Makefiles out of a bigger
number of input files. With that script I'd also like to
set environment variables for a build - so that I have one
big all-in-one script.
With Unix that's easy - I'll let the users call my script as
eval `create_makefiles.pl` in sh
and
eval `create_makefiles.pl -c` in csh
and generate export/setenv commands when called this way.
But what could I do to make it also work on Windows?
(in a DOS-window, not in Cygwin) Does anybody solve this
problem already or knows a module doing similar things?
Thanks
Alex