File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -1725,13 +1725,16 @@ tags::
17251725ctags -w $(srcdir)/Include/*.h $(srcdir)/Include/cpython/*.h $(srcdir)/Include/internal/*.h
17261726for i in $(SRCDIRS); do ctags -f tags -w -a $(srcdir)/$$i/*.[ch]; done
17271727ctags -f tags -w -a $(srcdir)/Modules/_ctypes/*.[ch]
1728+ find $(srcdir)/Lib -type f -name "*.py" -not -name "test_*.py" -not -path "*/test/*" -not -path "*/tests/*" -not -path "*/*_test/*" | ctags -f tags -w -a -L -
17281729LC_ALL=C sort -o tags tags
17291730
17301731# Create a tags file for GNU Emacs
17311732TAGS::
17321733cd $(srcdir); \
17331734etags Include/*.h Include/cpython/*.h Include/internal/*.h; \
17341735for i in $(SRCDIRS); do etags -a $$i/*.[ch]; done
1736+ etags -a $(srcdir)/Modules/_ctypes/*.[ch]
1737+ find $(srcdir)/Lib -type f -name "*.py" -not -name "test_*.py" -not -path "*/test/*" -not -path "*/tests/*" -not -path "*/*_test/*" | etags - -a
17351738
17361739# Sanitation targets -- clean leaves libraries, executables and tags
17371740# files, which clobber removes as well
Original file line number Diff line number Diff line change 1+ The ctags and etags build targets both include Modules/_ctypes and Python standard library source files.
You can’t perform that action at this time.
0 commit comments