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 @@ -1669,13 +1669,16 @@ tags::
1669
1669
ctags -w $(srcdir)/Include/*.h $(srcdir)/Include/internal/*.h
1670
1670
for i in $(SRCDIRS); do ctags -f tags -w -a $(srcdir)/$$i/*.[ch]; done
1671
1671
ctags -f tags -w -a $(srcdir)/Modules/_ctypes/*.[ch]
1672
+ 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 -
1672
1673
LC_ALL=C sort -o tags tags
1673
1674
1674
1675
# Create a tags file for GNU Emacs
1675
1676
TAGS::
1676
1677
cd $(srcdir); \
1677
1678
etags Include/*.h Include/internal/*.h; \
1678
1679
for i in $(SRCDIRS); do etags -a $$i/*.[ch]; done
1680
+ etags -a $(srcdir)/Modules/_ctypes/*.[ch]
1681
+ find $(srcdir)/Lib -type f -name "*.py" -not -name "test_*.py" -not -path "*/test/*" -not -path "*/tests/*" -not -path "*/*_test/*" | etags - -a
1679
1682
1680
1683
# Sanitation targets -- clean leaves libraries, executables and tags
1681
1684
# 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