summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorstratakis <cstratak@redhat.com>2017-05-11 11:13:18 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2017-05-11 11:13:18 (GMT)
commita4465a5bd08f232cf097893006118c82975c3402 (patch)
tree6edc6c7c0acd02d9fe2c1c67ba9c820223a41128 /Makefile.pre.in
parent98b49a00d413972965044fd355be3b8482caa07c (diff)
downloadcpython-a4465a5bd08f232cf097893006118c82975c3402.zip
cpython-a4465a5bd08f232cf097893006118c82975c3402.tar.gz
cpython-a4465a5bd08f232cf097893006118c82975c3402.tar.bz2
[3.6] bpo-28787: Fix out of tree --with-dtrace builds (GH-135) (#1543)
* bpo-28787: Fix out of tree --with-dtrace builds * Unsilence directory creation * Add Misc/NEWS and Misc/ACKS entries. (cherry picked from commit f6eae5bf1c5d7b83e5d5bdbecfff928e478c1cfd)
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 076fb44..82e8307 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -875,6 +875,7 @@ Python/frozen.o: $(srcdir)/Python/importlib.h $(srcdir)/Python/importlib_externa
# follow our naming conventions. dtrace(1) uses the output filename to generate
# an include guard, so we can't use a pipeline to transform its output.
Include/pydtrace_probes.h: $(srcdir)/Include/pydtrace.d
+ $(MKDIR_P) Include
$(DTRACE) $(DFLAGS) -o $@ -h -s $<
: sed in-place edit with POSIX-only tools
sed 's/PYTHON_/PyDTrace_/' $@ > $@.tmp