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
Johan Danielsson <[EMAIL PROTECTED]> writes:
> There are many problems. One problem not mentioned is that csh (on some
> platforms) like to stat just about every file it can find. This is not a
> big deal on most machines, but if you happen to be using a networked
> file system, it can be a real
John Fremlin <[EMAIL PROTECTED]> writes:
> > Please don't use glob. It's broken.
>
> Sorry, I don't understand how )-:
There are many problems. One problem not mentioned is that csh (on
some platforms) like to stat just about every file it can find. This
is not a big deal on most machines, but
On Mar 12, 2000, John Fremlin <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] (Johan Danielsson) writes:
>> > + local @list = glob($relative_dir);
>>
>> Please don't use glob. It's broken.
> Sorry, I don't understand how )-:
It doesn't matter. This won't go into automake, because the
[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
> "John" == John Fremlin <[EMAIL PROTECTED]> writes:
John> This patch adds the ability to use partial $(wildcard *.h)
John> (GNU?) make-style syntax in automake variable declarations. It
John> is useful for projects where the files for each target are are
John> organised in a single director
John Fremlin <[EMAIL PROTECTED]> writes:
> + local @list = glob($relative_dir);
Please don't use glob. It's broken.
/Johan
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