[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

feature suggestion - ** for recursive globbing

From: Nelson Minar
Subject: feature suggestion - ** for recursive globbing
Date: Thu, 27 Dec 2001 13:51:50 -0800

Java Makefiles have a problem; .java files end up being in lots of
little directories. How about expanding make's globbing rules to
include a recursive decent? Ie:
  $(wildcard java-src/**/*.java)
Which would be like doing
  $(shell find java-src -name *.java)

The "**" convention is used pretty consistently in a lot of Unix
tools, although I don't know if any GNU tools do it.

.       .      .     .    .   .  . . http://www.media.mit.edu/~nelson/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]