aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-11-30 23:28:01 +0100
committerGitHub <noreply@github.com>2017-11-30 23:28:01 +0100
commit7d1cfeef6486af07de832b3eae27e3f63532c270 (patch)
treecf62a9a46b47fe82bef69cc66c4bbe0970b7a477 /Makefile.pre.in
parent[2.7] bpo-32107 - Backport bitmask check fix (GH-4576) (#4590) (diff)
downloadcpython-7d1cfeef6486af07de832b3eae27e3f63532c270.tar.gz
cpython-7d1cfeef6486af07de832b3eae27e3f63532c270.tar.bz2
cpython-7d1cfeef6486af07de832b3eae27e3f63532c270.zip
make tags: index also Modules/_ctypes/ (#4648) (#4660)
Avoid also "cd $(srcdir)" to not change the current directory. (cherry picked from commit 3be3b97a9709d3cd5303175ddbffa7dcca57ac3e)
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 19e8f55b2ab..9297e7fc89c 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