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

Re: Adding a 'make diff' command to MakeMaker

Thread Previous
Russ Allbery
July 18, 2001 16:07
Re: Adding a 'make diff' command to MakeMaker
Message ID:
Ken Williams <> writes:

> 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'm pretty sure it doesn't.

> I'll either skip switches or use an environment variable.

There definitely needs to be some way of adding switches.  I recommend
using a make variable so that you can type:

    make diff FLAGS=-u

or the like.

Russ Allbery (             <>

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