diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-11-30 22:34:21 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-30 22:34:21 (GMT) |
commit | 29cb50ba347d9dc18e0720bef8e9caedd012a3cd (patch) | |
tree | 244e41f929416781c1fa4cb0abe25525dc5cba2a /configure | |
parent | 8cd31082fba88cf0064590fd3d55b6c1c964f11c (diff) | |
download | cpython-29cb50ba347d9dc18e0720bef8e9caedd012a3cd.zip cpython-29cb50ba347d9dc18e0720bef8e9caedd012a3cd.tar.gz cpython-29cb50ba347d9dc18e0720bef8e9caedd012a3cd.tar.bz2 |
[3.6] make tags: index also Modules/_ctypes/ (#4648) (#4659)
* `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.
(cherry picked from commit 8a543c0bc7347d5b333f334d157bf4a7cd33c14a)
* make tags: index also Modules/_ctypes/ (#4648)
Avoid also "cd $(srcdir)" to not change the current directory.
(cherry picked from commit 3be3b97a9709d3cd5303175ddbffa7dcca57ac3e)
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -16553,7 +16553,7 @@ do done -SRCDIRS="Parser Grammar Objects Python Modules Mac Programs" +SRCDIRS="Parser Objects Python Modules Programs" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build directories" >&5 $as_echo_n "checking for build directories... " >&6; } for dir in $SRCDIRS; do |