It looks like this rule will include source files which are not
incorporated by Makefile.am since it appears to simply recurse through
the source tree. That means it may pick up source files from other
projects, or source files which are not in use. Is that what you
intended?
Kind of. It looks like gtags does that, so I followed its example. It might
be better to only include those explicitly listed by Makefile.am, but I
wasn't sure of the best way to get the full list of source files... OTOH,
maybe it's best to index the whole project.