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 @@ -1730,13 +1730,16 @@ tags::
1730
1730
ctags -w $(srcdir)/Include/*.h $(srcdir)/Include/cpython/*.h $(srcdir)/Include/internal/*.h
1731
1731
for i in $(SRCDIRS); do ctags -f tags -w -a $(srcdir)/$$i/*.[ch]; done
1732
1732
ctags -f tags -w -a $(srcdir)/Modules/_ctypes/*.[ch]
1733
+ 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 -
1733
1734
LC_ALL=C sort -o tags tags
1734
1735
1735
1736
# Create a tags file for GNU Emacs
1736
1737
TAGS::
1737
1738
cd $(srcdir); \
1738
1739
etags Include/*.h Include/cpython/*.h Include/internal/*.h; \
1739
1740
for i in $(SRCDIRS); do etags -a $$i/*.[ch]; done
1741
+ etags -a $(srcdir)/Modules/_ctypes/*.[ch]
1742
+ find $(srcdir)/Lib -type f -name "*.py" -not -name "test_*.py" -not -path "*/test/*" -not -path "*/tests/*" -not -path "*/*_test/*" | etags - -a
1740
1743
1741
1744
# Sanitation targets -- clean leaves libraries, executables and tags
1742
1745
# 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