]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
create $(DESTSHARED) library if needed
authorGuido van Rossum <guido@python.org>
Sun, 22 Jan 1995 00:47:59 +0000 (00:47 +0000)
committerGuido van Rossum <guido@python.org>
Sun, 22 Jan 1995 00:47:59 +0000 (00:47 +0000)
Modules/Makefile.pre.in

index 0feec275f2a831b1dbf18254a23e7029acaa9205..27326ccf1ce59bfca45508c380d9acf0e63c3ab5 100644 (file)
@@ -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