]> granicus.if.org Git - python/commit
bpo-23404: make touch becomes make regen-all (#1466)
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 5 May 2017 01:14:23 +0000 (03:14 +0200)
committerGitHub <noreply@github.com>
Fri, 5 May 2017 01:14:23 +0000 (03:14 +0200)
commit8a19eb24c97ef43e9fc7d45af180334ac8093545
tree8657d73ae7c4018e24874f952d9b525bb6299027
parente81e355a8e43956802211115e3f99859a1a29ecb
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
Mac/BuildScript/build-installer.py
Makefile.pre.in
Misc/NEWS
configure
configure.ac