summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2017-05-27 23:40:45 (GMT)
committerGitHub <noreply@github.com>2017-05-27 23:40:45 (GMT)
commit178418ad6791b6ef5ba610ed93fab75fc1567ad2 (patch)
treecf11e4194db22aacc506e4521523b7ac689c2341 /Makefile.pre.in
parent5a346d5dbc1f0f70eca706a8ba19f7645bf17837 (diff)
downloadcpython-178418ad6791b6ef5ba610ed93fab75fc1567ad2.zip
cpython-178418ad6791b6ef5ba610ed93fab75fc1567ad2.tar.gz
cpython-178418ad6791b6ef5ba610ed93fab75fc1567ad2.tar.bz2
bpo-30492: Allow make clinic to work out of tree. (#1836)
* bpo-30492: Allow make clinic to work out of tree. * Use os.curdir instead of "." as the default value.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 0aefcf2..ee1cd4a 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -528,7 +528,7 @@ coverage-report: regen-grammar regen-importlib
# (depends on python having already been built)
.PHONY=clinic
clinic: $(BUILDPYTHON) $(srcdir)/Modules/_blake2/blake2s_impl.c
- $(RUNSHARED) $(PYTHON_FOR_BUILD) ./Tools/clinic/clinic.py --make
+ $(RUNSHARED) $(PYTHON_FOR_BUILD) $(srcdir)/Tools/clinic/clinic.py --make --srcdir $(srcdir)
# Build the interpreter
$(BUILDPYTHON): Programs/python.o $(LIBRARY) $(LDLIBRARY) $(PY3LIBRARY)