summaryrefslogtreecommitdiff
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorAlex Dzyoba <dzeban@users.noreply.github.com>2017-03-24 11:23:43 +0300
committerINADA Naoki <methane@users.noreply.github.com>2017-03-24 17:23:43 +0900
commit8a543c0bc7347d5b333f334d157bf4a7cd33c14a (patch)
treeccf774fcc1643dceb1cecf3cdeea31cf74fca43e /Makefile.pre.in
parent20fbf8accd494fd15b0fc4c84928178c71ead4d1 (diff)
downloadcpython-git-8a543c0bc7347d5b333f334d157bf4a7cd33c14a.tar.gz
`make tags` fixes (GH-717)
* Fix `make tags` warnings `make tags` target tries to find C sources and headers in "Grammar" and "Mac" folders and generates these warnings: ctags: Warning: cannot open source file "Grammar/*.[ch]" : No such file or directory ctags: Warning: cannot open source file "Mac/*.[ch]" : No such file or directory This commit changes $SRCDIRS variable in configure.ac to remote these directories. This variable is used only for tags generation. Also, "configure" was regenerated with `autoreconf`. * Fix `make tags` fail on non-default tag names When ctags overrides default tags filename (e.g. `-f .tags`) `make tags` is failed because it assumes to see default `tags` filename: sort: cannot read: tags: No such file or directory This commit explicitly specifies "tags" filename for tags generation.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 3da6637629..4145634c03 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1555,7 +1555,7 @@ autoconf:
tags::
cd $(srcdir); \
ctags -w Include/*.h; \
- for i in $(SRCDIRS); do ctags -w -a $$i/*.[ch]; \
+ for i in $(SRCDIRS); do ctags -f tags -w -a $$i/*.[ch]; \
done; \
LC_ALL=C sort -o tags tags