]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-35134: Update "make tags": add Include/cpython/ (GH-10739)
authorVictor Stinner <vstinner@redhat.com>
Tue, 27 Nov 2018 11:42:25 +0000 (12:42 +0100)
committerGitHub <noreply@github.com>
Tue, 27 Nov 2018 11:42:25 +0000 (12:42 +0100)
"make tags" and "make TAGS" now also parse Include/cpython/ header
files.

Makefile.pre.in

index 17007aef56238b335d6dba27dffee9c9be2a5743..eee64a75f785794d82fe43df788bd1eb577ac4ce 100644 (file)
@@ -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