]> git.ipfire.org Git - thirdparty/automake.git/commit
[ng] tags: move yet more processing to GNU make
authorStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 9 Aug 2012 18:50:55 +0000 (20:50 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 9 Aug 2012 23:33:15 +0000 (01:33 +0200)
commitc7e9abd11c76fd002c1d17b310d6fb42e2fd3282
tree686d6c10466e0476ee74568e2ae23ad685a49637
parent59dafed51a326bf731a7099bce9745c8d4c070a6
[ng] tags: move yet more processing to GNU make

This will also simplify future changes aimed at making the current
'tags.am' makefile fragment included more "verbatim".

* lib/am/tags.am (am.tags.include-option): New internal variable, the
include-like option used by the $(EATGS) problem.  This must be
determined dynamically because Exuberant Ctags wants '--etags-include'
while GNU Etags wants '--include'.
(am.tags.subfiles): New, TAGS files in $(SUBDIRS) entries (if any)
that must be included in the top-level TAGS file.
(tags-am): Use them, and simplify accordingly.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
lib/am/tags.am