churchyard / rpms / python3

Forked from rpms/python3 6 years ago
Clone

Blame 00249-fix-out-of-tree-dtrace-builds.patch

af1b222
diff --git a/Makefile.pre.in b/Makefile.pre.in
af1b222
index 28df0e1..42f811c 100644
af1b222
--- a/Makefile.pre.in
af1b222
+++ b/Makefile.pre.in
af1b222
@@ -867,6 +867,7 @@ Python/frozen.o: Python/importlib.h Python/importlib_external.h
af1b222
 # follow our naming conventions. dtrace(1) uses the output filename to generate
af1b222
 # an include guard, so we can't use a pipeline to transform its output.
af1b222
 Include/pydtrace_probes.h: $(srcdir)/Include/pydtrace.d
af1b222
+	@$(MKDIR_P) Include
af1b222
 	$(DTRACE) $(DFLAGS) -o $@ -h -s $<
af1b222
 	: sed in-place edit with POSIX-only tools
af1b222
 	sed 's/PYTHON_/PyDTrace_/' $@ > $@.tmp