]> granicus.if.org Git - python/commitdiff
bpo-28787: Fix out of tree --with-dtrace builds (#135)
authorstratakis <cstratak@redhat.com>
Wed, 10 May 2017 15:08:15 +0000 (17:08 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 10 May 2017 15:08:15 +0000 (17:08 +0200)
* bpo-28787: Fix out of tree --with-dtrace builds

* Unsilence directory creation

* Add Misc/NEWS and Misc/ACKS entries

Makefile.pre.in
Misc/ACKS
Misc/NEWS

index 1ba52e7c23abc8a624a29694d95ecb2775c59b5a..6e11bfb7ff3d03f7e27eda4332852e5da9cdb29b 100644 (file)
@@ -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
index 6f80ab749ad2b9acb0a588e493accbf17f6cde9b..3c4155e54817eca60b121bd306d2947c2206edd4 100644 (file)
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -1487,6 +1487,7 @@ Daniel Stokes
 Michael Stone
 Serhiy Storchaka
 Ken Stox
+Charalampos Stratakis
 Dan Stromberg
 Donald Stufft
 Daniel Stutzbach
index 997a03411de4532d80e6051aa6ae2313a5ddd098..5ee7ea65ff1df5a86f4c1968302fe25e41a9a240 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -1051,6 +1051,9 @@ Documentation
 Build
 -----
 
+- bpo-28787: Fix out-of-tree builds of Python when configured with
+  ``--with--dtrace``.
+
 - bpo-29243: Prevent unnecessary rebuilding of Python during ``make test``,
   ``make install`` and some other make targets when configured with
   ``--enable-optimizations``.