summaryrefslogtreecommitdiff
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-12-13 21:20:36 +0100
committerVictor Stinner <victor.stinner@gmail.com>2015-12-13 21:20:36 +0100
commitc2021558ef6d813d483298cdf637de78225dc0f2 (patch)
tree9f7916eb6750c43ceb74d983a01b686cc0d6d435 /Makefile.pre.in
parenta1d6f39997ca4577e79e03e0847098d0d0df849d (diff)
downloadcpython-git-c2021558ef6d813d483298cdf637de78225dc0f2.tar.gz
Issue #25696: Fix installation of Python on UNIX with make -j9.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 823def3cd2..e659d7526d 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1110,6 +1110,10 @@ altbininstall: $(BUILDPYTHON) @FRAMEWORKPYTHONW@
fi
bininstall: altbininstall
+ -if test ! -d $(DESTDIR)$(LIBPC); then \
+ echo "Creating directory $(LIBPC)"; \
+ $(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$(LIBPC); \
+ fi
-if test -f $(DESTDIR)$(BINDIR)/python3$(EXE) -o -h $(DESTDIR)$(BINDIR)/python3$(EXE); \
then rm -f $(DESTDIR)$(BINDIR)/python3$(EXE); \
else true; \