From: Victor Stinner Date: Thu, 30 Nov 2017 22:28:01 +0000 (+0100) Subject: make tags: index also Modules/_ctypes/ (#4648) (#4660) X-Git-Tag: v2.7.15rc1~107 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7d1cfeef6486af07de832b3eae27e3f63532c270;p=python make tags: index also Modules/_ctypes/ (#4648) (#4660) Avoid also "cd $(srcdir)" to not change the current directory. (cherry picked from commit 3be3b97a9709d3cd5303175ddbffa7dcca57ac3e) --- diff --git a/Makefile.pre.in b/Makefile.pre.in index 19e8f55b2a..9297e7fc89 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -1378,10 +1378,9 @@ autoconf: # Create a tags file for vi tags:: - cd $(srcdir); \ - ctags -w Include/*.h; \ - for i in $(SRCDIRS); do ctags -f tags -w -a $$i/*.[ch]; \ - done; \ + ctags -w $(srcdir)/Include/*.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 # Create a tags file for GNU Emacs