[lug] bash wildcard expansion from Makefile

D. Stimits stimits at idcomm.com
Fri May 3 21:11:17 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.
> 
> Tom

The -x showed me a macro expansion where I'd missed capitalizing a word.
Typo, quoting was correct all along.

D. Stimits, stimits at idcomm.com



More information about the LUG mailing list