summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-11-27 11:42:25 (GMT)
committerGitHub <noreply@github.com>2018-11-27 11:42:25 (GMT)
commit480833808e918a1dcebbbcfd07d5a8de3c5c2a66 (patch)
tree120260ce45ebdceff1e1c30d76b7a150e0bfa90c
parent163403a63e9272fcd14707e344122c2e3c5e0244 (diff)
downloadcpython-480833808e918a1dcebbbcfd07d5a8de3c5c2a66.zip
cpython-480833808e918a1dcebbbcfd07d5a8de3c5c2a66.tar.gz
cpython-480833808e918a1dcebbbcfd07d5a8de3c5c2a66.tar.bz2
bpo-35134: Update "make tags": add Include/cpython/ (GH-10739)
"make tags" and "make TAGS" now also parse Include/cpython/ header files.
-rw-r--r--Makefile.pre.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 17007ae..eee64a7 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1667,7 +1667,7 @@ autoconf:
# Create a tags file for vi
tags::
- ctags -w $(srcdir)/Include/*.h $(srcdir)/Include/internal/*.h
+ ctags -w $(srcdir)/Include/*.h $(srcdir)/Include/cpython/*.h $(srcdir)/Include/internal/*.h
for i in $(SRCDIRS); do ctags -f tags -w -a $(srcdir)/$$i/*.[ch]; done
ctags -f tags -w -a $(srcdir)/Modules/_ctypes/*.[ch]
LC_ALL=C sort -o tags tags
@@ -1675,7 +1675,7 @@ tags::
# Create a tags file for GNU Emacs
TAGS::
cd $(srcdir); \
- etags Include/*.h Include/internal/*.h; \
+ etags Include/*.h Include/cpython/*.h Include/internal/*.h; \
for i in $(SRCDIRS); do etags -a $$i/*.[ch]; done
# Sanitation targets -- clean leaves libraries, executables and tags