summaryrefslogtreecommitdiff
path: root/Mac
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-05-05 03:14:23 +0200
committerGitHub <noreply@github.com>2017-05-05 03:14:23 +0200
commit8a19eb24c97ef43e9fc7d45af180334ac8093545 (patch)
tree8657d73ae7c4018e24874f952d9b525bb6299027 /Mac
parente81e355a8e43956802211115e3f99859a1a29ecb (diff)
downloadcpython-git-8a19eb24c97ef43e9fc7d45af180334ac8093545.tar.gz
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
Diffstat (limited to 'Mac')
-rwxr-xr-xMac/BuildScript/build-installer.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py
index 0951e5feaa..e8272e7e43 100755
--- a/Mac/BuildScript/build-installer.py
+++ b/Mac/BuildScript/build-installer.py
@@ -1168,9 +1168,6 @@ def buildPython():
shellQuote(WORKDIR)[1:-1],
shellQuote(WORKDIR)[1:-1]))
- print("Running make touch")
- runCommand("make touch")
-
print("Running make")
runCommand("make")