diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-11-30 21:49:10 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-30 21:49:10 (GMT) |
commit | 3be3b97a9709d3cd5303175ddbffa7dcca57ac3e (patch) | |
tree | fe71d83fc2e319de9c896441a1cf1f503e060cd9 /Makefile.pre.in | |
parent | a897aeeef647259a938a36cb5eb6680c86021c6a (diff) | |
download | cpython-3be3b97a9709d3cd5303175ddbffa7dcca57ac3e.zip cpython-3be3b97a9709d3cd5303175ddbffa7dcca57ac3e.tar.gz cpython-3be3b97a9709d3cd5303175ddbffa7dcca57ac3e.tar.bz2 |
make tags: index also Modules/_ctypes/ (#4648)
Avoid also "cd $(srcdir)" to not change the current directory.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r-- | Makefile.pre.in | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index d196d5f..f425a89 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -1605,10 +1605,9 @@ autoconf: # Create a tags file for vi tags:: - cd $(srcdir); \ - ctags -w Include/*.h Include/internal/*.h; \ - for i in $(SRCDIRS); do ctags -f tags -w -a $$i/*.[ch]; \ - done; \ + ctags -w $(srcdir)/Include/*.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 # Create a tags file for GNU Emacs |