Skip to content

Commit 3be3b97

Browse files
authored
make tags: index also Modules/_ctypes/ (#4648)
Avoid also "cd $(srcdir)" to not change the current directory.
1 parent a897aee commit 3be3b97

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
@@ -1605,10 +1605,9 @@ autoconf:
16051605

16061606
# Create a tags file for vi
16071607
tags::
1608-
cd $(srcdir); \
1609-
ctags -w Include/*.h Include/internal/*.h; \
1610-
for i in $(SRCDIRS); do ctags -f tags -w -a $$i/*.[ch]; \
1611-
done; \
1608+
ctags -w $(srcdir)/Include/*.h $(srcdir)/Include/internal/*.h
1609+
for i in $(SRCDIRS); do ctags -f tags -w -a $(srcdir)/$$i/*.[ch]; done
1610+
ctags -f tags -w -a $(srcdir)/Modules/_ctypes/*.[ch]
16121611
LC_ALL=C sort -o tags tags
16131612

16141613
# Create a tags file for GNU Emacs

0 commit comments

Comments
 (0)