Adapted for the move of Mac/Lib to Lib/plat-mac. Makefile.pre.in now
knows about plat-mac subdirectories, and configure adds a variable
EXTRAPLATDIR. These together take care of copying Lib/plat-mac to
the destination on darwin.
Adding plat-mac is still done with a .pth file which is only created when
you do a framework build. I'm not 100% happy with this, but fixing it
really needs a functional pythonw in non-framework builds, and I don't
think I can do that before 2.3a1 (but I'll try:-).
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 794e641..bf10d1c 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -608,8 +608,17 @@
# Install the library
PLATDIR= plat-$(MACHDEP)
-MACHDEPS= $(PLATDIR)
+EXTRAPLATDIR= @EXTRAPLATDIR@
+MACHDEPS= $(PLATDIR) $(EXTRAPLATDIR)
XMLLIBSUBDIRS= xml xml/dom xml/parsers xml/sax
+PLATMACDIRS= plat-mac plat-mac/Carbon plat-mac/lib-scriptpackages \
+ plat-mac/lib-scriptpackages/_BuiltinSuites \
+ plat-mac/lib-scriptpackages/CodeWarrior \
+ plat-mac/lib-scriptpackages/Explorer \
+ plat-mac/lib-scriptpackages/Finder \
+ plat-mac/lib-scriptpackages/Netscape \
+ plat-mac/lib-scriptpackages/StdSuites \
+ plat-mac/lib-scriptpackages/Terminal
LIBSUBDIRS= lib-old lib-tk site-packages test test/output test/data \
encodings email compiler hotshot logging bsddb \
distutils distutils/command $(XMLLIBSUBDIRS) curses $(MACHDEPS)