Skip to content

Commit 7d1cfee

Browse files
authored
make tags: index also Modules/_ctypes/ (#4648) (#4660)
Avoid also "cd $(srcdir)" to not change the current directory. (cherry picked from commit 3be3b97)
1 parent 56e444f commit 7d1cfee

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Makefile.pre.in

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1378,10 +1378,9 @@ autoconf:
13781378

13791379
# Create a tags file for vi
13801380
tags::
1381-
cd $(srcdir); \
1382-
ctags -w Include/*.h; \
1383-
for i in $(SRCDIRS); do ctags -f tags -w -a $$i/*.[ch]; \
1384-
done; \
1381+
ctags -w $(srcdir)/Include/*.h
1382+
for i in $(SRCDIRS); do ctags -f tags -w -a $(srcdir)/$$i/*.[ch]; done
1383+
ctags -f tags -w -a $(srcdir)/Modules/_ctypes/*.[ch]
13851384
LC_ALL=C sort -o tags tags
13861385

13871386
# Create a tags file for GNU Emacs

0 commit comments

Comments
 (0)