make tags: index also Modules/_ctypes/ (#4648)

Avoid also "cd $(srcdir)" to not change the current directory.
This commit is contained in:
Victor Stinner 2017-11-30 22:49:10 +01:00 committed by GitHub
parent a897aeeef6
commit 3be3b97a97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions

View File

@ -1605,10 +1605,9 @@ autoconf:
# Create a tags file for vi # Create a tags file for vi
tags:: tags::
cd $(srcdir); \ ctags -w $(srcdir)/Include/*.h $(srcdir)/Include/internal/*.h
ctags -w Include/*.h Include/internal/*.h; \ for i in $(SRCDIRS); do ctags -f tags -w -a $(srcdir)/$$i/*.[ch]; done
for i in $(SRCDIRS); do ctags -f tags -w -a $$i/*.[ch]; \ ctags -f tags -w -a $(srcdir)/Modules/_ctypes/*.[ch]
done; \
LC_ALL=C sort -o tags tags LC_ALL=C sort -o tags tags
# Create a tags file for GNU Emacs # Create a tags file for GNU Emacs