mirror of https://github.com/python/cpython
Fixed the DESTDIR modifications to also allow MacOSX framework builds
to be installed to a different location. This should make the OSX binary installer building a lot simpler.
This commit is contained in:
parent
8ba0e80117
commit
9592fe9a49
103
Mac/OSX/Makefile
103
Mac/OSX/Makefile
|
@ -5,15 +5,15 @@
|
||||||
VERSION=2.3
|
VERSION=2.3
|
||||||
builddir = ../..
|
builddir = ../..
|
||||||
srcdir = ../..
|
srcdir = ../..
|
||||||
dstroot=/.
|
prefix=/Library/Frameworks/Python.framework/Versions/$(VERSION)
|
||||||
prefix=$(dstroot)/Library/Frameworks/Python.framework/Versions/$(VERSION)
|
|
||||||
LIBDEST=$(prefix)/lib/python$(VERSION)
|
LIBDEST=$(prefix)/lib/python$(VERSION)
|
||||||
BUILDPYTHON=$(builddir)/python.exe
|
BUILDPYTHON=$(builddir)/python.exe
|
||||||
|
DESTDIR=
|
||||||
|
|
||||||
# These are normally glimpsed from the previous set
|
# These are normally glimpsed from the previous set
|
||||||
bindir=$(dstroot)/usr/local/bin
|
bindir=/usr/local/bin
|
||||||
PYTHONAPPSPATH=/Applications/MacPython-$(VERSION)
|
PYTHONAPPSPATH=/Applications/MacPython-$(VERSION)
|
||||||
PYTHONAPPSDIR=$(dstroot)$(PYTHONAPPSPATH)
|
PYTHONAPPSDIR=$(PYTHONAPPSPATH)
|
||||||
APPINSTALLDIR=$(prefix)/Resources/Python.app
|
APPINSTALLDIR=$(prefix)/Resources/Python.app
|
||||||
|
|
||||||
# Variables for installing the "normal" unix binaries
|
# Variables for installing the "normal" unix binaries
|
||||||
|
@ -59,22 +59,22 @@ installapps: install_PythonLauncher install_Python install_BuildApplet install_I
|
||||||
install_PythonLauncher:
|
install_PythonLauncher:
|
||||||
cd $(srcdir)/Mac/OSX/PythonLauncher/PythonLauncher.pbproj ; \
|
cd $(srcdir)/Mac/OSX/PythonLauncher/PythonLauncher.pbproj ; \
|
||||||
pbxbuild -target PythonLauncher -buildstyle Deployment \
|
pbxbuild -target PythonLauncher -buildstyle Deployment \
|
||||||
DSTROOT=$(dstroot) INSTALL_PATH=$(PYTHONAPPSPATH) install
|
DSTROOT=$(DESTDIR) INSTALL_PATH=$(PYTHONAPPSPATH) install
|
||||||
|
|
||||||
install_Python:
|
install_Python:
|
||||||
@if test ! -f $(DOCINDEX); then \
|
@if test ! -f $(DOCINDEX); then \
|
||||||
echo WARNING: you should run Apple Help Indexing Tool on $(DOCDIR); \
|
echo WARNING: you should run Apple Help Indexing Tool on $(DOCDIR); \
|
||||||
fi
|
fi
|
||||||
@for i in $(PYTHONAPPSDIR) $(APPINSTALLDIR) $(APPINSTALLDIR)/Contents; do \
|
@for i in $(PYTHONAPPSDIR) $(APPINSTALLDIR) $(APPINSTALLDIR)/Contents; do \
|
||||||
if test ! -d $$i; then \
|
if test ! -d $(DESTDIR)$$i; then \
|
||||||
echo "Creating directory $$i"; \
|
echo "Creating directory $(DESTDIR)$$i"; \
|
||||||
$(INSTALL) -d -m $(DIRMODE) $$i; \
|
$(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$$i; \
|
||||||
fi;\
|
fi;\
|
||||||
done
|
done
|
||||||
@for i in $(APPSUBDIRS); do \
|
@for i in $(APPSUBDIRS); do \
|
||||||
if test ! -d $(APPINSTALLDIR)/Contents/$$i; then \
|
if test ! -d $(DESTDIR)$(APPINSTALLDIR)/Contents/$$i; then \
|
||||||
echo "Creating directory $(APPINSTALLDIR)/Contents/$$i"; \
|
echo "Creating directory $(DESTDIR)$(APPINSTALLDIR)/Contents/$$i"; \
|
||||||
$(INSTALL) -d -m $(DIRMODE) $(APPINSTALLDIR)/Contents/$$i; \
|
$(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$(APPINSTALLDIR)/Contents/$$i; \
|
||||||
else true; \
|
else true; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
|
@ -82,7 +82,7 @@ install_Python:
|
||||||
do \
|
do \
|
||||||
a=$(APPTEMPLATE)/$$d; \
|
a=$(APPTEMPLATE)/$$d; \
|
||||||
if test ! -d $$a; then continue; else true; fi; \
|
if test ! -d $$a; then continue; else true; fi; \
|
||||||
b=$(APPINSTALLDIR)/Contents/$$d; \
|
b=$(DESTDIR)$(APPINSTALLDIR)/Contents/$$d; \
|
||||||
for i in $$a/*; \
|
for i in $$a/*; \
|
||||||
do \
|
do \
|
||||||
case $$i in \
|
case $$i in \
|
||||||
|
@ -106,59 +106,66 @@ install_Python:
|
||||||
esac; \
|
esac; \
|
||||||
done; \
|
done; \
|
||||||
done
|
done
|
||||||
$(INSTALL_PROGRAM) $(STRIPFLAG) $(BUILDPYTHON) $(APPINSTALLDIR)/Contents/MacOS/python
|
$(INSTALL_PROGRAM) $(STRIPFLAG) $(BUILDPYTHON) $(DESTDIR)$(APPINSTALLDIR)/Contents/MacOS/python
|
||||||
|
|
||||||
install_IDE: $(INSTALLED_PYTHONW)
|
install_IDE:
|
||||||
@if ! $(INSTALLED_PYTHONW) -c "import waste"; then \
|
@if ! $(BUILDPYTHON) -c "import waste"; then \
|
||||||
echo PythonIDE needs the \"waste\" extension module; \
|
echo PythonIDE needs the \"waste\" extension module; \
|
||||||
echo See Mac/OSX/README for details; \
|
echo See Mac/OSX/README for details; \
|
||||||
else \
|
else \
|
||||||
echo $(INSTALLED_PYTHONW) $(srcdir)/Mac/scripts/BuildApplet.py \
|
echo $(BUILDPYTHON) $(srcdir)/Mac/scripts/BuildApplet.py \
|
||||||
--output $(PYTHONAPPSDIR)/PythonIDE.app --noargv \
|
--python $(INSTALLED_PYTHONW) \
|
||||||
|
--output $(DESTDIR)$(PYTHONAPPSDIR)/PythonIDE.app --noargv \
|
||||||
$(srcdir)/Mac/Tools/IDE/PythonIDE.py ; \
|
$(srcdir)/Mac/Tools/IDE/PythonIDE.py ; \
|
||||||
$(INSTALLED_PYTHONW) $(srcdir)/Mac/scripts/BuildApplet.py \
|
$(BUILDPYTHON) $(srcdir)/Mac/scripts/BuildApplet.py \
|
||||||
--output $(PYTHONAPPSDIR)/PythonIDE.app --noargv \
|
--python $(INSTALLED_PYTHONW) \
|
||||||
|
--output $(DESTDIR)$(PYTHONAPPSDIR)/PythonIDE.app --noargv \
|
||||||
$(srcdir)/Mac/Tools/IDE/PythonIDE.py; \
|
$(srcdir)/Mac/Tools/IDE/PythonIDE.py; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
install_PackageManager: $(INSTALLED_PYTHONW)
|
install_PackageManager:
|
||||||
@if ! $(INSTALLED_PYTHONW) -c "import waste"; then \
|
@if ! $(BUILDPYTHON) -c "import waste"; then \
|
||||||
echo PackageManager needs the \"waste\" extension module; \
|
echo PackageManager needs the \"waste\" extension module; \
|
||||||
echo See Mac/OSX/README for details; \
|
echo See Mac/OSX/README for details; \
|
||||||
else \
|
else \
|
||||||
echo $(INSTALLED_PYTHONW) $(bundlebuilder) \
|
echo $(BUILDPYTHON) $(bundlebuilder) \
|
||||||
--builddir $(PYTHONAPPSDIR)/ \
|
--builddir $(DESTDIR)$(PYTHONAPPSDIR)/ \
|
||||||
|
--python $(INSTALLED_PYTHONW) \
|
||||||
--resource $(srcdir)/Mac/Tools/IDE/PythonIDE.rsrc \
|
--resource $(srcdir)/Mac/Tools/IDE/PythonIDE.rsrc \
|
||||||
--mainprogram $(srcdir)/Mac/Tools/IDE/PackageManager.py \
|
--mainprogram $(srcdir)/Mac/Tools/IDE/PackageManager.py \
|
||||||
--iconfile $(srcdir)/Mac/Tools/IDE/PackageManager.icns \
|
--iconfile $(srcdir)/Mac/Tools/IDE/PackageManager.icns \
|
||||||
--creator Pimp build; \
|
--creator Pimp build; \
|
||||||
$(INSTALLED_PYTHONW) $(bundlebuilder) \
|
$(BUILDPYTHON) $(bundlebuilder) \
|
||||||
--builddir $(PYTHONAPPSDIR)/ \
|
--builddir $(DESTDIR)$(PYTHONAPPSDIR)/ \
|
||||||
|
--python $(INSTALLED_PYTHONW) \
|
||||||
--resource $(srcdir)/Mac/Tools/IDE/PythonIDE.rsrc \
|
--resource $(srcdir)/Mac/Tools/IDE/PythonIDE.rsrc \
|
||||||
--mainprogram $(srcdir)/Mac/Tools/IDE/PackageManager.py \
|
--mainprogram $(srcdir)/Mac/Tools/IDE/PackageManager.py \
|
||||||
--iconfile $(srcdir)/Mac/Tools/IDE/PackageManager.icns \
|
--iconfile $(srcdir)/Mac/Tools/IDE/PackageManager.icns \
|
||||||
--creator Pimp build; \
|
--creator Pimp build; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
install_IDLE: $(INSTALLED_PYTHONW)
|
install_IDLE:
|
||||||
@if ! $(INSTALLED_PYTHONW) -c "import _tkinter"; then \
|
@if ! $(BUILDPYTHON) -c "import _tkinter"; then \
|
||||||
echo IDLE needs the \"Tkinter\" extension module; \
|
echo IDLE needs the \"Tkinter\" extension module; \
|
||||||
echo See Mac/OSX/README for details; \
|
echo See Mac/OSX/README for details; \
|
||||||
else \
|
else \
|
||||||
echo $(INSTALLED_PYTHONW) $(srcdir)/Mac/scripts/BuildApplet.py \
|
echo $(BUILDPYTHON) $(srcdir)/Mac/scripts/BuildApplet.py \
|
||||||
--output $(PYTHONAPPSDIR)/IDLE.app \
|
--python $(INSTALLED_PYTHONW) \
|
||||||
|
--output $(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app \
|
||||||
--extra $(srcdir)/Tools/idle \
|
--extra $(srcdir)/Tools/idle \
|
||||||
$(srcdir)/Tools/idle/idle ; \
|
$(srcdir)/Tools/idle/idle ; \
|
||||||
$(INSTALLED_PYTHONW) $(srcdir)/Mac/scripts/BuildApplet.py \
|
$(BUILDPYTHON) $(srcdir)/Mac/scripts/BuildApplet.py \
|
||||||
--output $(PYTHONAPPSDIR)/IDLE.app \
|
--python $(INSTALLED_PYTHONW) \
|
||||||
|
--output $(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app \
|
||||||
--extra $(srcdir)/Tools/idle:Contents/Resources/idlelib \
|
--extra $(srcdir)/Tools/idle:Contents/Resources/idlelib \
|
||||||
$(srcdir)/Tools/idle/idle ; \
|
$(srcdir)/Tools/idle/idle ; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
install_BuildApplet: $(INSTALLED_PYTHONW)
|
install_BuildApplet:
|
||||||
$(INSTALLED_PYTHONW) $(srcdir)/Mac/scripts/BuildApplet.py \
|
$(BUILDPYTHON) $(srcdir)/Mac/scripts/BuildApplet.py \
|
||||||
--output $(PYTHONAPPSDIR)/BuildApplet.app \
|
--python $(INSTALLED_PYTHONW) \
|
||||||
|
--output $(DESTDIR)$(PYTHONAPPSDIR)/BuildApplet.app \
|
||||||
$(srcdir)/Mac/scripts/BuildApplet.py
|
$(srcdir)/Mac/scripts/BuildApplet.py
|
||||||
|
|
||||||
MACLIBDEST=$(LIBDEST)/plat-mac
|
MACLIBDEST=$(LIBDEST)/plat-mac
|
||||||
|
@ -168,9 +175,9 @@ MACTOOLSSUBDIRS=IDE
|
||||||
installmacsubtree:
|
installmacsubtree:
|
||||||
@for i in $(MACTOOLSDEST); \
|
@for i in $(MACTOOLSDEST); \
|
||||||
do \
|
do \
|
||||||
if test ! -d $$i; then \
|
if test ! -d $(DESTDIR)$$i; then \
|
||||||
echo "Creating directory $$i"; \
|
echo "Creating directory $(DESTDIR)$$i"; \
|
||||||
$(INSTALL) -d -m $(DIRMODE) $$i; \
|
$(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$$i; \
|
||||||
else true; \
|
else true; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
|
@ -178,7 +185,7 @@ installmacsubtree:
|
||||||
do \
|
do \
|
||||||
a=$(MACTOOLSSRC)/$$d; \
|
a=$(MACTOOLSSRC)/$$d; \
|
||||||
if test ! -d $$a; then continue; else true; fi; \
|
if test ! -d $$a; then continue; else true; fi; \
|
||||||
b=$(MACTOOLSDEST)/$$d; \
|
b=$(DESTDIR)$(MACTOOLSDEST)/$$d; \
|
||||||
if test ! -d $$b; then \
|
if test ! -d $$b; then \
|
||||||
echo "Creating directory $$b"; \
|
echo "Creating directory $$b"; \
|
||||||
$(INSTALL) -d -m $(DIRMODE) $$b; \
|
$(INSTALL) -d -m $(DIRMODE) $$b; \
|
||||||
|
@ -189,7 +196,7 @@ installmacsubtree:
|
||||||
do \
|
do \
|
||||||
a=$(MACTOOLSSRC)/$$d; \
|
a=$(MACTOOLSSRC)/$$d; \
|
||||||
if test ! -d $$a; then continue; else true; fi; \
|
if test ! -d $$a; then continue; else true; fi; \
|
||||||
b=$(MACTOOLSDEST)/$$d; \
|
b=$(DESTDIR)$(MACTOOLSDEST)/$$d; \
|
||||||
for i in $$a/*; \
|
for i in $$a/*; \
|
||||||
do \
|
do \
|
||||||
case $$i in \
|
case $$i in \
|
||||||
|
@ -215,9 +222,9 @@ installmacsubtree:
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
$(BUILDPYTHON) $(CACHERSRC) -v $(MACLIBDEST) $(MACTOOLSDEST)
|
$(BUILDPYTHON) $(CACHERSRC) -v $(DESTDIR)$(MACLIBDEST) $(DESTDIR)$(MACTOOLSDEST)
|
||||||
$(BUILDPYTHON) -Wi -tt $(compileall) -x badsyntax $(MACTOOLSDEST)
|
$(BUILDPYTHON) -Wi -tt $(compileall) -x badsyntax $(DESTDIR)$(MACTOOLSDEST)
|
||||||
$(BUILDPYTHON) -O -Wi -tt $(compileall) -x badsyntax $(MACTOOLSDEST)
|
$(BUILDPYTHON) -O -Wi -tt $(compileall) -x badsyntax $(DESTDIR)$(MACTOOLSDEST)
|
||||||
|
|
||||||
#
|
#
|
||||||
# We use the full name here in stead of $(INSTALLED_PYTHONW), because
|
# We use the full name here in stead of $(INSTALLED_PYTHONW), because
|
||||||
|
@ -228,11 +235,11 @@ $(APPINSTALLDIR)/Contents/MacOS/python: install_Python
|
||||||
# $(INSTALLED_PYTHON) has to be done by the main Makefile, we cannot do that here.
|
# $(INSTALLED_PYTHON) has to be done by the main Makefile, we cannot do that here.
|
||||||
# At least this rule will give an error if it doesn't exist.
|
# At least this rule will give an error if it doesn't exist.
|
||||||
|
|
||||||
installunixtools: $(INSTALLED_PYTHON) $(INSTALLED_PYTHONW)
|
installunixtools:
|
||||||
$(INSTALL) -d $(bindir)
|
$(INSTALL) -d $(DESTDIR)$(bindir)
|
||||||
$(INSTALL_SYMLINK) $(INSTALLED_PYTHON) $(bindir)/python$(VERSION)
|
$(INSTALL_SYMLINK) $(INSTALLED_PYTHON) $(DESTDIR)$(bindir)/python$(VERSION)
|
||||||
$(INSTALL_SYMLINK) python$(VERSION) $(bindir)/python
|
$(INSTALL_SYMLINK) python$(VERSION) $(DESTDIR)$(bindir)/python
|
||||||
echo "#!/bin/sh" > pythonw.sh
|
echo "#!/bin/sh" > pythonw.sh
|
||||||
echo "exec \"$(INSTALLED_PYTHONW)\" \"\$$@\"" >> pythonw.sh
|
echo "exec \"$(INSTALLED_PYTHONW)\" \"\$$@\"" >> pythonw.sh
|
||||||
$(INSTALL) pythonw.sh $(bindir)/pythonw$(VERSION)
|
$(INSTALL) pythonw.sh $(DESTDIR)$(bindir)/pythonw$(VERSION)
|
||||||
$(INSTALL_SYMLINK) pythonw$(VERSION) $(bindir)/pythonw
|
$(INSTALL_SYMLINK) pythonw$(VERSION) $(DESTDIR)$(bindir)/pythonw
|
||||||
|
|
|
@ -590,7 +590,7 @@ bininstall: altbininstall
|
||||||
# This goes into $(exec_prefix)
|
# This goes into $(exec_prefix)
|
||||||
altbininstall: $(BUILDPYTHON)
|
altbininstall: $(BUILDPYTHON)
|
||||||
@if test "$(PYTHONFRAMEWORKDIR)" != no-framework; then \
|
@if test "$(PYTHONFRAMEWORKDIR)" != no-framework; then \
|
||||||
if test ! -f $(PYTHONFRAMEWORKINSTALLDIR)/Versions/Current/Resources/Info.plist; then \
|
if test ! -f $(DESTDIR)$(PYTHONFRAMEWORKINSTALLDIR)/Versions/Current/Resources/Info.plist; then \
|
||||||
echo 'Framework build: use "make frameworkinstall" in stead of "make install"'; \
|
echo 'Framework build: use "make frameworkinstall" in stead of "make install"'; \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
fi; \
|
fi; \
|
||||||
|
@ -835,39 +835,40 @@ frameworkinstallstructure: $(LDLIBRARY)
|
||||||
fi
|
fi
|
||||||
@for i in $(prefix)/Resources/English.lproj $(prefix)/lib; do\
|
@for i in $(prefix)/Resources/English.lproj $(prefix)/lib; do\
|
||||||
if test ! -d $(DESTDIR)$$i; then \
|
if test ! -d $(DESTDIR)$$i; then \
|
||||||
echo "Creating directory $$i"; \
|
echo "Creating directory $(DESTDIR)$$i"; \
|
||||||
$(INSTALL) -d -m $(DIRMODE) $$i; \
|
$(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$$i; \
|
||||||
else true; \
|
else true; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
$(LN) -fsn include/python$(VERSION) $(prefix)/Headers
|
$(LN) -fsn include/python$(VERSION) $(DESTDIR)$(prefix)/Headers
|
||||||
$(INSTALL_DATA) $(RESSRCDIR)/Info.plist $(prefix)/Resources/Info.plist
|
$(INSTALL_DATA) $(RESSRCDIR)/Info.plist $(DESTDIR)$(prefix)/Resources/Info.plist
|
||||||
$(INSTALL_DATA) $(RESSRCDIR)/version.plist $(prefix)/Resources/version.plist
|
$(INSTALL_DATA) $(RESSRCDIR)/version.plist $(DESTDIR)$(prefix)/Resources/version.plist
|
||||||
$(INSTALL_DATA) $(RESSRCDIR)/English.lproj/InfoPlist.strings \
|
$(INSTALL_DATA) $(RESSRCDIR)/English.lproj/InfoPlist.strings \
|
||||||
$(prefix)/Resources/English.lproj/InfoPlist.strings
|
$(DESTDIR)$(prefix)/Resources/English.lproj/InfoPlist.strings
|
||||||
$(LN) -fsn $(VERSION) $(PYTHONFRAMEWORKINSTALLDIR)/Versions/Current
|
$(LN) -fsn $(VERSION) $(DESTDIR)$(PYTHONFRAMEWORKINSTALLDIR)/Versions/Current
|
||||||
$(LN) -fsn Versions/Current/Python $(PYTHONFRAMEWORKINSTALLDIR)/Python
|
$(LN) -fsn Versions/Current/Python $(DESTDIR)$(PYTHONFRAMEWORKINSTALLDIR)/Python
|
||||||
$(LN) -fsn Versions/Current/Headers $(PYTHONFRAMEWORKINSTALLDIR)/Headers
|
$(LN) -fsn Versions/Current/Headers $(DESTDIR)$(PYTHONFRAMEWORKINSTALLDIR)/Headers
|
||||||
$(LN) -fsn Versions/Current/Resources $(PYTHONFRAMEWORKINSTALLDIR)/Resources
|
$(LN) -fsn Versions/Current/Resources $(DESTDIR)$(PYTHONFRAMEWORKINSTALLDIR)/Resources
|
||||||
$(INSTALL_DATA) $(LDLIBRARY) $(PYTHONFRAMEWORKPREFIX)/$(LDLIBRARY)
|
$(INSTALL_DATA) $(LDLIBRARY) $(DESTDIR)$(PYTHONFRAMEWORKPREFIX)/$(LDLIBRARY)
|
||||||
|
|
||||||
# This installs Mac/Lib into the framework
|
# This installs Mac/Lib into the framework
|
||||||
frameworkinstallmaclib:
|
frameworkinstallmaclib:
|
||||||
$(MAKE) -f $(srcdir)/Mac/OSX/Makefile installmacsubtree \
|
$(MAKE) -f $(srcdir)/Mac/OSX/Makefile installmacsubtree \
|
||||||
BUILDPYTHON=./$(BUILDPYTHON) DIRMODE=$(DIRMODE) FILEMODE=$(FILEMODE) \
|
BUILDPYTHON=./$(BUILDPYTHON) DIRMODE=$(DIRMODE) FILEMODE=$(FILEMODE) \
|
||||||
srcdir=$(srcdir) builddir=. prefix=$(prefix) LIBDEST=$(LIBDEST)
|
srcdir=$(srcdir) builddir=. prefix=$(prefix) LIBDEST=$(LIBDEST) \
|
||||||
|
DESTDIR=$(DESTDIR)
|
||||||
|
|
||||||
# This installs the IDE, the Launcher and other apps into /Applications
|
# This installs the IDE, the Launcher and other apps into /Applications
|
||||||
frameworkinstallapps:
|
frameworkinstallapps:
|
||||||
$(MAKE) -f $(srcdir)/Mac/OSX/Makefile installapps \
|
$(MAKE) -f $(srcdir)/Mac/OSX/Makefile installapps \
|
||||||
BUILDPYTHON=./$(BUILDPYTHON) DIRMODE=$(DIRMODE) FILEMODE=$(FILEMODE) \
|
BUILDPYTHON=./$(BUILDPYTHON) DIRMODE=$(DIRMODE) FILEMODE=$(FILEMODE) \
|
||||||
srcdir=$(srcdir) builddir=. dstroot=$(PYTHONFRAMEWORKPREFIX)/../..
|
srcdir=$(srcdir) builddir=. DESTDIR=$(DESTDIR)
|
||||||
|
|
||||||
# This install the unix python and pythonw tools in /usr/local/bin
|
# This install the unix python and pythonw tools in /usr/local/bin
|
||||||
frameworkinstallunixtools:
|
frameworkinstallunixtools:
|
||||||
$(MAKE) -f $(srcdir)/Mac/OSX/Makefile installunixtools \
|
$(MAKE) -f $(srcdir)/Mac/OSX/Makefile installunixtools \
|
||||||
DIRMODE=$(DIRMODE) FILEMODE=$(FILEMODE) \
|
DIRMODE=$(DIRMODE) FILEMODE=$(FILEMODE) \
|
||||||
srcdir=$(srcdir) builddir=. dstroot=$(PYTHONFRAMEWORKPREFIX)/../..
|
srcdir=$(srcdir) builddir=. DESTDIR=$(DESTDIR)
|
||||||
|
|
||||||
# This installs IDLE
|
# This installs IDLE
|
||||||
idleinstall:
|
idleinstall:
|
||||||
|
|
Loading…
Reference in New Issue