[lug] bash wildcard expansion from Makefile

D. Stimits stimits at idcomm.com
Fri May 3 18:07:43 MDT 2002


Tom Tromey wrote:
> 
> >>>>> "Peter" == Peter Hutnick <peter-lists at hutnick.com> writes:
> 
> >> mytarg:
> >> cp Makefile* ../foo/
> 
> Peter> That works for me.
> 
> FYI, a nice technique for finding problems in the code run by make is
> to invoke:
> 
>     make SHELL='/bin/sh -x'
> 
> This will cause sh to print out what it actually does.

I'll give the -x a try. Can't right at this sec, but it should tell me
what it is expanding at least.

D. Stimits, stimits at idcomm.com



More information about the LUG mailing list