]> granicus.if.org Git - python/commitdiff
bpo-30860: Add Include/internal/ in "make tags" (#3498)
authorVictor Stinner <victor.stinner@gmail.com>
Mon, 11 Sep 2017 16:34:36 +0000 (09:34 -0700)
committerGitHub <noreply@github.com>
Mon, 11 Sep 2017 16:34:36 +0000 (09:34 -0700)
Makefile.pre.in

index 1c7210008330df5a8f408a477fae642aa9abc2ff..5a001ecbe7303b73605ce880bf5846d1a7f48a0c 100644 (file)
@@ -1580,7 +1580,7 @@ autoconf:
 # Create a tags file for vi
 tags::
        cd $(srcdir); \
-       ctags -w Include/*.h; \
+       ctags -w Include/*.h Include/internal/*.h; \
        for i in $(SRCDIRS); do ctags -f tags -w -a $$i/*.[ch]; \
        done; \
        LC_ALL=C sort -o tags tags
@@ -1588,7 +1588,7 @@ tags::
 # Create a tags file for GNU Emacs
 TAGS::
        cd $(srcdir); \
-       etags Include/*.h; \
+       etags Include/*.h Include/internal/*.h; \
        for i in $(SRCDIRS); do etags -a $$i/*.[ch]; done
 
 # Sanitation targets -- clean leaves libraries, executables and tags