summaryrefslogtreecommitdiffstats
path: root/Modules/Makefile.pre.in
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-06-17 17:33:11 (GMT)
committerGuido van Rossum <guido@python.org>1996-06-17 17:33:11 (GMT)
commit2bd37e6c9b2664f5cec31dd1c38a0a4cb3a02cfc (patch)
treec91faa967f45e95c273f00d5e826be95cc89f1f6 /Modules/Makefile.pre.in
parentbd6187fcce4331b9634c11a749af577f3ad521bc (diff)
downloadcpython-2bd37e6c9b2664f5cec31dd1c38a0a4cb3a02cfc.zip
cpython-2bd37e6c9b2664f5cec31dd1c38a0a4cb3a02cfc.tar.gz
cpython-2bd37e6c9b2664f5cec31dd1c38a0a4cb3a02cfc.tar.bz2
Added more entries to create required target subdirectories for sharedinstall.
Diffstat (limited to 'Modules/Makefile.pre.in')
-rw-r--r--Modules/Makefile.pre.in16
1 files changed, 14 insertions, 2 deletions
diff --git a/Modules/Makefile.pre.in b/Modules/Makefile.pre.in
index 95321d0..a21af23 100644
--- a/Modules/Makefile.pre.in
+++ b/Modules/Makefile.pre.in
@@ -177,7 +177,19 @@ sharedinstall: $(DESTSHARED) $(SHAREDMODS)
fi; \
done
-$(DESTSHARED):
- mkdir $(DESTSHARED); chmod 755 $(DESTSHARED)
+DIRMODE=755
+
+$(DESTSHARED): $(exec_prefix)/lib/python $(exec_prefix)/lib $(exec_prefix)
+ mkdir $(DESTSHARED); chmod $(DIRMODE) $(DESTSHARED)
+
+$(exec_prefix)/lib/python:
+ mkdir $(exec_prefix)/lib/python
+ chmod $(DIRMODE) $(exec_prefix)/lib/python
+
+$(exec_prefix)/lib:
+ mkdir $(exec_prefix)/lib; chmod $(DIRMODE) $(exec_prefix)/lib
+
+$(exec_prefix):
+ mkdir $(exec_prefix); chmod $(DIRMODE) $(exec_prefix)
# Stuff is appended here by makesetup and make depend