summaryrefslogtreecommitdiff
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorstratakis <cstratak@redhat.com>2017-05-10 17:08:15 +0200
committerVictor Stinner <victor.stinner@gmail.com>2017-05-10 17:08:15 +0200
commitf6eae5bf1c5d7b83e5d5bdbecfff928e478c1cfd (patch)
treeb10c1e4e4f122dbfc2dcf18dc83e4c9ea6d6b5cf /Makefile.pre.in
parent2ddf5a19c3a06978edff2c8ba0aaf5df3528204a (diff)
downloadcpython-git-f6eae5bf1c5d7b83e5d5bdbecfff928e478c1cfd.tar.gz
bpo-28787: Fix out of tree --with-dtrace builds (#135)
* bpo-28787: Fix out of tree --with-dtrace builds * Unsilence directory creation * Add Misc/NEWS and Misc/ACKS entries
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 1ba52e7c23..6e11bfb7ff 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -872,6 +872,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