[Python-checkins] [python/cpython] 8a543c: `make tags` fixes (GH-717)

GitHub noreply at github.com
Fri Mar 24 04:23:44 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/python/cpython
  Commit: 8a543c0bc7347d5b333f334d157bf4a7cd33c14a
      https://github.com/python/cpython/commit/8a543c0bc7347d5b333f334d157bf4a7cd33c14a
  Author: Alex Dzyoba <dzeban at users.noreply.github.com>
  Date:   2017-03-24 (Fri, 24 Mar 2017)

  Changed paths:
    M Makefile.pre.in
    M configure
    M configure.ac

  Log Message:
  -----------
  `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.




More information about the Python-checkins mailing list