summaryrefslogtreecommitdiff
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-11-30 22:49:10 +0100
committerGitHub <noreply@github.com>2017-11-30 22:49:10 +0100
commit3be3b97a9709d3cd5303175ddbffa7dcca57ac3e (patch)
treefe71d83fc2e319de9c896441a1cf1f503e060cd9 /Makefile.pre.in
parenta897aeeef647259a938a36cb5eb6680c86021c6a (diff)
downloadcpython-git-3be3b97a9709d3cd5303175ddbffa7dcca57ac3e.tar.gz
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.in7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index d196d5f838..f425a89173 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