Patch: $(wildcard *.c) style globbing

2000-03-10 Thread John Fremlin
This patch adds the ability to use partial $(wildcard *.h) (GNU?) make-style syntax in automake variable declarations. It is useful for projects where the files for each target are are organised in a single directory. Example - banana_SOURCES = fridge.app $(wildcard *.tree) banana_SOUR

Re: Patch: $(wildcard *.c) style globbing

2000-03-13 Thread John Fremlin
[EMAIL PROTECTED] (Johan Danielsson) writes: > > + local @list = glob($relative_dir); > > Please don't use glob. It's broken. Sorry, I don't understand how )-: I found two QAs in the Perl FAQ about glob: [...] By default glob() forks csh(1) to do the actual glob exp

Re: Patch: $(wildcard *.c) style globbing

2000-03-17 Thread John Fremlin
Alexandre Oliva <[EMAIL PROTECTED]> writes: [...] > IMO, the cleanest way to accomplish what you want is to add a rule to > your Makefile.am that will expand a glob pattern and write it to a > macro definition in a Makefile fragment you `include' in Makefile.am. [...] Yes, that is a much bette