[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Patch] Makefile.in [ce]tags
From: |
Mike Jonkmans |
Subject: |
[Patch] Makefile.in [ce]tags |
Date: |
Mon, 15 Mar 2021 08:10:49 +0100 |
The -x option to ctags generates 'human readable' stuff that vim can not use.
This patch removes the -x and the '>$@', which is not needed.
Refer to https://pubs.opengroup.org/onlinepubs/9699919799/utilities/ctags.html
Also introducing $(ETAGS) $(ETAGSFLAGS) and same for CTAGS*
Regards, Mike Jonkmans
diff --git Makefile.in Makefile.in
index 3e3a5d48..8d9883f6 100644
--- Makefile.in
+++ Makefile.in
@@ -79,6 +79,8 @@ ARFLAGS = @ARFLAGS@
RANLIB = @RANLIB@
SIZE = @SIZE@
STRIP = strip
+CTAGS = ctags
+ETAGS = etags
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
@@ -807,10 +809,10 @@ force:
# unused
TAGS: $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE)
- etags $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE)
+ $(ETAGS) $(ETAGSFLAGS) $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE)
tags: $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE)
- ctags -x $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE) > $@
+ $(CTAGS) $(CTAGSFLAGS) $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE)
# Targets that actually do things not part of the build
- [Patch] Makefile.in [ce]tags,
Mike Jonkmans <=