Depending on your shell and the utilities available, you could easily do this with a shell command. I use bash, find, and sed to obtain a list in the appropriate format.
$(addprefix $(CURDIR),$(shell find . -type f -name "*.article.xml" -print | sed 's/^\.//')) where *.article.xml could be whatever for which you want to search. I would be interested in hearing a more "make-native" way of doing this. On 3/16/06, Aditya Kher <[EMAIL PROTECTED]> wrote: > list, > The wild card function will give list of *.c files in the current directory > > SOURCE = $(wildcard *.c) > > Is there any way to use wildcard to *find recursively* under given path > e.g. > > SOURCE = $(wildcard source_dir/*.c) > > where the directory structrure is > > source_dir > | > +-- dir_a > | > +-- dir_b > | > +-- dir_c > > and in all these directories, *.c files are scattered all over? > > -aditya > > > _______________________________________________ > Help-make mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/help-make > -- http://chris.chiasson.name/ _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
