schwern@pobox.com wrote: >On Wed, Jul 18, 2001 at 05:00:19PM -0500, Ken Williams wrote: >> What's the best place to add such functionality? I'd prefer to add it >> to one of the Perl modules and call that code in the 'make' target, >> rather than trying to write the whole thing in the makefile. > >Work from the version of MakeMaker on CPAN. It's an alpha, so the >CPAN shell won't find it. >http://www.cpan.org/modules/by-authors/id/M/MS/MSCHWERN/ExtUtils-MakeMaker-5.47_01.tar.gz > Good, thanks. >You'd be working on ExtUtils::MakeMaker and ExtUtils::MM_Unix >primarily. The particularly tricky bit is finding the 'diff' program >and dealing with the multitude of different versions and switches on >different platforms. For example, many versions of diff don't support >the prefered -u option. The idea I had was to just use 'diff' without a full pathname (i.e. let the shell search $PATH), and to let the user add switches by doing 'make diff -u' or whatever. If I can't get the switches to work that way (not sure whether 'make' allows it), I'll either skip switches or use an environment variable. >> p.p.s. - I initially sent this message to makemaker@franz.ww.tu-berlin.de , >> but the message bounced with the error "no route to host". > >makemaker@perl.org is the new mailing list. Okay, after this message I'll stop Cc-ing p5p (unless someone thinks I should keep p5p in the loop) and move over to the MM list. ------------------- ------------------- Ken Williams Last Bastion of Euclidity ken@forum.swarthmore.edu The Math ForumThread Previous | Thread Next