[Python-checkins] [python/cpython] 22b304: bpo-23404: make touch becomes make rebuild-all
GitHub
noreply at github.com
Tue May 2 20:21:35 EDT 2017
Branch: refs/heads/buildbot-custom
Home: https://github.com/python/cpython
Commit: 22b304f4d3d8b577ea9cca4afc062c974735cd1d
https://github.com/python/cpython/commit/22b304f4d3d8b577ea9cca4afc062c974735cd1d
Author: Victor Stinner <victor.stinner at gmail.com>
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
R .hgtouch
M Mac/BuildScript/build-installer.py
M Makefile.pre.in
M Misc/NEWS
R Tools/hg/hgtouch.py
M configure
M configure.ac
Log Message:
-----------
bpo-23404: make touch becomes make rebuild-all
Don't rebuild generated files based on file modification time
anymore. The action is now explicit.
Changes:
* Remove "make touch", Tools/hg/hgtouch.py and .hgtouch
* Add a new "make rebuild-all" command to rebuild all generated files
* Add subcommands to only generate specific files:
- rebuild-ast: Include/Python-ast.h and Python/Python-ast.c
- rebuild-grammar: Include/graminit.h and Python/graminit.c
- rebuild-importlib: Python/importlib_external.h and Python/importlib.h
- rebuild-opcode: Include/opcode.h
- rebuild-opcode-targets: Python/opcode_targets.h
- rebuild-typeslots: Objects/typeslots.inc
* pgen is now only built by by "make rebuild-grammar"
* Add $(srcdir)/ prefix to paths to source files to handle correctly
compilation outside the source directory
Note: $(PYTHON_FOR_GEN) is no more used nor needed by "make" (default
target, build Python).
More information about the Python-checkins
mailing list