develooper Front page | perl.perl5.porters | Postings from July 2001

Re: Adding a 'make diff' command to MakeMaker

Thread Previous | Thread Next
Rich Lafferty
July 18, 2001 18:22
Re: Adding a 'make diff' command to MakeMaker
Message ID:
On Wed, Jul 18, 2001 at 05:52:53PM -0500, Ken Williams ( wrote:
> 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.

There's a pure-Perl diff by Mark-Jason Dominus at 
<>; it might be useful to use
(part of?) that as either a default or fallback to get Usual Behavior
on platforms that don't have diff(1) lying around.


Rich Lafferty --------------+-----------------------------------------------
 Montreal, Quebec, Canada   |  "Do not dangle the mouse by the cord or    |   throw it at coworkers."  -- SGI Indy manual -----------+-----------------------------------------------

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About