[lug] bash wildcard expansion from Makefile

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


Peter Hutnick wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Friday 03 May 2002 03:36 pm, D. Stimits wrote:
> > mytarg:
> >         cp Makefile* ../foo/
> 
> That works for me.  I tend to put a trailing dot, and that also works.  I used
> "Makefile" "Makefile.1" and "Makefile2" as my test files.
> 
> Do you maybe mean ./foo/?  Does ../foo/ exist?  Are you using GNU make?  I'm
> on "GNU Make version 3.79.1".
> 
> - -Peter
> 

Maybe it is because I am using a directory with it:
  cp ../foo/Makefile* ../bar/

It is all GNU make, 3.79.1. The SHELL is Redhats standard bash.

D. Stimits, stimits at idcomm.com



More information about the LUG mailing list