Provide a VIM-compatible tag file, too.

This commit is contained in:
Philipp Marek 2014-02-26 21:14:36 +01:00
parent 8c97a61099
commit 0cdae4ddf0
2 changed files with 10 additions and 1 deletions

View file

@ -15,6 +15,13 @@ This is a GDB function that prints a 'cl_object' human-readably:
Using VIM:
----------
.git/tags is a VIM-compatible tag file; if you're using
the fugitive plugin, it will be used automatically.
About testing:
--------------

View file

@ -51,7 +51,7 @@ LSP_LIBRARIES = @LSP_LIBRARIES@
TARGETS = @TARGETS@
ECL_CMPDIR = @ECL_CMPDIR@
all: $(TARGETS) bin/ecl-config TAGS
all: $(TARGETS) bin/ecl-config .git/tags TAGS
.PHONY: all
%Makefile: $(srcdir)/%Makefile.in config.status
@ -258,6 +258,8 @@ selfbuild:
# Make sure to also include *.d files; and match DPP's idiosyncracies
# like "@si::foo" and "@(defun si::foo".
# This rule is allowed to fail when etags does not exist.
.git/tags:
cd $(srcdir)/.git && ctags -o tags -R --langmap=c:+.d ../src
TAGS:
-if test "x$(ETAGS)" != "x"; then \
srcfiles=`find $(srcdir)/c $(srcdir)/h -name '*.[chd]'` && \