Re: [Module-build-general] Cross-platform fixes for pass-through Makefile
Status: Beta
Brought to you by:
kwilliams
|
From: <sc...@po...> - 2003-02-17 21:56:04
|
On Mon, Feb 17, 2003 at 03:20:27PM -0600, Ken Williams wrote: > Right. So this is just a more cross-platform way to do > > $^X -e "unlink shift" $makefile Double quotes are surprsingly cross platform. Just have to watch out for Unix interpolation. > The only part of it that's still an issue, I think, is the $^X > variable. It might contain something like "/My Computer/foo/bar/perl", > in which case I guess the shell invocation would think the command was > "/My" with argument "Computer/foo/bar/perl". Heh. Good luck. I gave up on that. nmake is particularly frustrating and brain dead about having any sane quoting rules for it. My attempt at a cross-platform perl one-liner generating tool is: ExtUtils::MM_Any->oneliner in 6.06_02. I mostly gave up on trying to deal with paths to perl with spaces in it. |