summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-01-22 00:47:59 (GMT)
committerGuido van Rossum <guido@python.org>1995-01-22 00:47:59 (GMT)
commit811fbbc4cecbda12e00c0898747226602b18119b (patch)
tree89448a1a932dfb6b11e5f6d2dbf857e0a9983ae3 /Modules
parentec25b91ba3cfabf48e7691e53bd747c2803d6f4e (diff)
downloadcpython-811fbbc4cecbda12e00c0898747226602b18119b.zip
cpython-811fbbc4cecbda12e00c0898747226602b18119b.tar.gz
cpython-811fbbc4cecbda12e00c0898747226602b18119b.tar.bz2
create $(DESTSHARED) library if needed
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Makefile.pre.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/Modules/Makefile.pre.in b/Modules/Makefile.pre.in
index 0feec27..27326cc 100644
--- a/Modules/Makefile.pre.in
+++ b/Modules/Makefile.pre.in
@@ -153,8 +153,11 @@ yuvconvert.o: yuvconvert.c
# Rules to build and install all shared modules
sharedmods: $(SHAREDMODS)
-sharedinstall: $(SHAREDMODS)
+sharedinstall: $(DESTSHARED) $(SHAREDMODS)
for i in dummy $(SHAREDMODS); do \
if test -f $$i; then mv $$i $(DESTSHARED)/$$i; fi; done
+$(DESTSHARED):
+ mkdir $(DESTSHARED)
+
# Stuff is appended here by makesetup and make depend