[Python-checkins] cpython (3.5): Issue #27726: Fix "make tags"
victor.stinner
python-checkins at python.org
Wed Aug 17 08:04:33 EDT 2016
https://hg.python.org/cpython/rev/ed95e9ca2699
changeset: 102726:ed95e9ca2699
branch: 3.5
parent: 102722:242c89ab09fe
user: Victor Stinner <victor.stinner at gmail.com>
date: Wed Aug 17 14:00:58 2016 +0200
summary:
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. .
files:
Makefile.pre.in | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile.pre.in b/Makefile.pre.in
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1548,10 +1548,10 @@
# Create a tags file for vi
tags::
cd $(srcdir); \
- ctags -w -t Include/*.h; \
- for i in $(SRCDIRS); do ctags -w -t -a $$i/*.[ch]; \
+ ctags -w Include/*.h; \
+ for i in $(SRCDIRS); do ctags -w -a $$i/*.[ch]; \
done; \
- sort -o tags tags
+ LC_ALL=C sort -o tags tags
# Create a tags file for GNU Emacs
TAGS::
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list