From 0cdae4ddf03794844fde395ea2a5d8b258ec0dbe Mon Sep 17 00:00:00 2001 From: Philipp Marek Date: Wed, 26 Feb 2014 21:14:36 +0100 Subject: [PATCH] Provide a VIM-compatible tag file, too. --- README.1st | 7 +++++++ src/Makefile.in | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/README.1st b/README.1st index 68193fc00..0f6094e12 100644 --- a/README.1st +++ b/README.1st @@ -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: -------------- diff --git a/src/Makefile.in b/src/Makefile.in index 8b5eab60c..4b2070d3a 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -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]'` && \