Mercurial > octave
changeset 21388:b9cb3a96849a
build: Calculate ctags for m-files as well as C/C++/Fortran sources (bug #47317).
* scripts/module.mk: Populate magic variables TAG_DEPENDENCIES and TAG_FILES
with the list of m-files in the scripts directory.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 01 Mar 2016 18:13:40 -0800 |
parents | cd9d95d74403 |
children | 64efef931bd0 |
files | scripts/module.mk |
diffstat | 1 files changed, 4 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/module.mk Tue Mar 01 17:12:17 2016 -0800 +++ b/scripts/module.mk Tue Mar 01 18:13:40 2016 -0800 @@ -158,11 +158,10 @@ done ) | $(SHELL) run-octave --norc --silent --no-history .PHONY: check-missing-semicolon -## Add rule to generate ctags. -## Automake would normally generate such a rule, but only if there is a -## xxx_SOURCES target -ctags: - ctags $(addprefix $(srcdir)/, $(FCN_FILES)) $(GEN_FCN_FILES) +## Include m-files in list of sources when building tag files. +## Automake will not include these because there is no xxx_SOURCES target +TAGS_DEPENDENCIES = $(addprefix $(srcdir)/, $(FCN_FILES)) $(GEN_FCN_FILES) +TAGS_FILES = $(addprefix $(srcdir)/, $(FCN_FILES)) $(GEN_FCN_FILES) install-data-local: install-startup-files install-pkg-add