[Python-checkins] [python/cpython] 8a19eb: bpo-23404: make touch becomes make regen-all (#146...
GitHub
noreply at github.com
Thu May 4 21:14:24 EDT 2017
Branch: refs/heads/2.7
Home: https://github.com/python/cpython
Commit: 8a19eb24c97ef43e9fc7d45af180334ac8093545
https://github.com/python/cpython/commit/8a19eb24c97ef43e9fc7d45af180334ac8093545
Author: Victor Stinner <victor.stinner at gmail.com>
Date: 2017-05-05 (Fri, 05 May 2017)
Changed paths:
M Mac/BuildScript/build-installer.py
M Makefile.pre.in
M Misc/NEWS
M configure
M configure.ac
Log Message:
-----------
bpo-23404: make touch becomes make regen-all (#1466)
Don't rebuild generated files based on file modification time
anymore, the action is now explicit. Replace "make touch"
with "make regen-all".
Changes:
* Remove "make touch", Tools/hg/hgtouch.py and .hgtouch
* Add a new "make regen-all" command to rebuild all generated files
* Add subcommands to only generate specific files:
- regen-ast: Include/Python-ast.h and Python/Python-ast.c
- regen-grammar: Include/graminit.h and Python/graminit.c
- regen-opcode-targets: Python/opcode_targets.h
* Add PYTHON_FOR_REGEN variable
* pgen is now only built by by "make regen-grammar"
* Add $(srcdir)/ prefix to paths to source files to handle correctly
compilation outside the source directory
More information about the Python-checkins
mailing list