summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-08-17 12:00:58 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-08-17 12:00:58 (GMT)
commit034fb564b17f14d8012c7cb8f2e4f4429be8b79a (patch)
tree7d98a71ee93b47a2e98df0ef6be8797fd45f1286
parent7e6977a8bc5c5209d22241933b6a1d5116de4121 (diff)
downloadcpython-034fb564b17f14d8012c7cb8f2e4f4429be8b79a.zip
cpython-034fb564b17f14d8012c7cb8f2e4f4429be8b79a.tar.gz
cpython-034fb564b17f14d8012c7cb8f2e4f4429be8b79a.tar.bz2
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. .
-rw-r--r--Makefile.pre.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index dfc319b..f0ddddb 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1548,10 +1548,10 @@ autoconf:
# 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::