summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-12-13 20:21:36 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2015-12-13 20:21:36 (GMT)
commit117051afa9580d40b3d148504006f609f4e85c6b (patch)
tree5daa7edaa058d81e7151a66ee571175881c32b5d /Makefile.pre.in
parent67dbd0d73c09821feb975208ee5be41a282a0856 (diff)
parentc2021558ef6d813d483298cdf637de78225dc0f2 (diff)
downloadcpython-117051afa9580d40b3d148504006f609f4e85c6b.zip
cpython-117051afa9580d40b3d148504006f609f4e85c6b.tar.gz
cpython-117051afa9580d40b3d148504006f609f4e85c6b.tar.bz2
(Merge 3.5) 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 c6c534e..8dca592 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; \