Skip to content

Commit 034fb56

Browse files
committed
Issue #27726: Fix "make tags"
* Memove -t option of ctags. The option was kept for backward compatibility, but it was completly removed recently. Patch written by Stéphane Wirtel. * Set locale to C to call sort. vim expects that the tags file is sorted using english collation, so it fails if the locale is french for example. Use LC_ALL=C to force english sorting order. .
1 parent 7e6977a commit 034fb56

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile.pre.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1548,10 +1548,10 @@ autoconf:
15481548
# Create a tags file for vi
15491549
tags::
15501550
cd $(srcdir); \
1551-
ctags -w -t Include/*.h; \
1552-
for i in $(SRCDIRS); do ctags -w -t -a $$i/*.[ch]; \
1551+
ctags -w Include/*.h; \
1552+
for i in $(SRCDIRS); do ctags -w -a $$i/*.[ch]; \
15531553
done; \
1554-
sort -o tags tags
1554+
LC_ALL=C sort -o tags tags
15551555

15561556
# Create a tags file for GNU Emacs
15571557
TAGS::

0 commit comments

Comments
 (0)