Fix tags targets in module/Makefile.in + cleanup
authorArvind Sankar <nivedita@alum.mit.edu>
Mon, 22 Jun 2020 02:13:02 +0000 (22:13 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 25 Jun 2020 01:19:44 +0000 (18:19 -0700)
commit0b03254830a79ed0784b517467442ad38404de74
tree4fa2e1f3e31892fc099a8bba842ba0bb91368145
parent2989d1012ac00b4134a0dc490917e0b0d048d289
Fix tags targets in module/Makefile.in + cleanup

These targets look to have been copied from an automake-generated
Makefile.in, and can't work since none of the auto-generated automake
variables are defined here.

Moreover, ctags has been overridden in the top-level Makefile, so the
target is pointless anyway, and gtags is not a recursive target.

Fix cscopelist by moving it to the top-level Makefile as well, in line
with ctags and etags.

Also, add -a to ctags command as well, otherwise it won't work if more
than one xargs invocation takes place.

Add assembler files to ctags/etags, prune all dotted-dirs, and restrict
the find to files only.

Cleanup: add .PHONY to module/Makefile.in, and fix one recipe with a
missing continuation character.

Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
Closes #10493
Makefile.am
module/Makefile.in