bug-automake
[Top][All Lists]
Advanced

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

Automake 1.5 tags rule


From: Christian Cornelssen
Subject: Automake 1.5 tags rule
Date: Sat, 10 Nov 2001 10:52:10 +0100 (CET)

Dear Automake maintainers,

If you have a header template file like `config.h.in', Automake 1.5
subscribes it to the list of taggable sources that are dependencies
of the `TAGS' target, but passes their names directly to the "etags"
command without doing a VPATH search for them.

I suggest not to pass the template header file names directly to
"etags", and including them in the shell variable `list' instead.
$$list is then filtered to $$unique, whereby a VPATH search is
emulated.  Thus, we do the right thing almost automatically.

A similar method may be applied to the $(LISP) files.

Alternatively, one could prepend $(srcdir)/ to the header template
file names in the rules for `TAGS'.  This might be preferable because
in all other rules, the `*.h.in' files are prefixed with $(srcdir)/,
even when specified as a target or dependency.

Sincerely,

Christian Cornelssen




reply via email to

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