Skip to content

Commit 4808338

Browse files
authored
bpo-35134: Update "make tags": add Include/cpython/ (GH-10739)
"make tags" and "make TAGS" now also parse Include/cpython/ header files.
1 parent 163403a commit 4808338

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile.pre.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1667,15 +1667,15 @@ autoconf:
16671667

16681668
# Create a tags file for vi
16691669
tags::
1670-
ctags -w $(srcdir)/Include/*.h $(srcdir)/Include/internal/*.h
1670+
ctags -w $(srcdir)/Include/*.h $(srcdir)/Include/cpython/*.h $(srcdir)/Include/internal/*.h
16711671
for i in $(SRCDIRS); do ctags -f tags -w -a $(srcdir)/$$i/*.[ch]; done
16721672
ctags -f tags -w -a $(srcdir)/Modules/_ctypes/*.[ch]
16731673
LC_ALL=C sort -o tags tags
16741674

16751675
# Create a tags file for GNU Emacs
16761676
TAGS::
16771677
cd $(srcdir); \
1678-
etags Include/*.h Include/internal/*.h; \
1678+
etags Include/*.h Include/cpython/*.h Include/internal/*.h; \
16791679
for i in $(SRCDIRS); do etags -a $$i/*.[ch]; done
16801680

16811681
# Sanitation targets -- clean leaves libraries, executables and tags

0 commit comments

Comments
 (0)