diff options
author | Ronald Oussoren <ronaldoussoren@mac.com> | 2008-12-30 12:59:02 (GMT) |
---|---|---|
committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2008-12-30 12:59:02 (GMT) |
commit | 216001591541571820cdbf31645fa44ee3fc8f4f (patch) | |
tree | 9ecec5c36ae3afbb01f30582769f62c51f23216c /Mac/Makefile.in | |
parent | a17775fab4fe6c9b2bd1ad539b6b6f072fceeb12 (diff) | |
download | cpython-216001591541571820cdbf31645fa44ee3fc8f4f.zip cpython-216001591541571820cdbf31645fa44ee3fc8f4f.tar.gz cpython-216001591541571820cdbf31645fa44ee3fc8f4f.tar.bz2 |
Make it possible to install a framework build of Python 3.x on OSX.
This the build machinery on OSX to re-enable building (and installing)
PythonLauncher.app and IDLE.app.
This needs ports of fixes to Lib/distutils/util.py and Include/pymacconfig.h
to be fully functiontional, to be fully functional.
I also have a patch for Makefile.pre.in that I'll post on bugs.python.org
for review.
Diffstat (limited to 'Mac/Makefile.in')
-rw-r--r-- | Mac/Makefile.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Mac/Makefile.in b/Mac/Makefile.in index 2e0d62d..a5cb362 100644 --- a/Mac/Makefile.in +++ b/Mac/Makefile.in @@ -216,8 +216,10 @@ install_Python4way: install_Python install_IDLE: test -d "$(DESTDIR)$(PYTHONAPPSDIR)" || mkdir -p "$(DESTDIR)$(PYTHONAPPSDIR)" -test -d "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app" && rm -r "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app" - cp -PR IDLE/IDLE.app "$(DESTDIR)$(PYTHONAPPSDIR)" + cp -PR "$(srcdir)/IDLE/IDLE.app" "$(DESTDIR)$(PYTHONAPPSDIR)" ln -sf $(INSTALLED_PYTHONAPP) "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app/Contents/MacOS/Python" + sed "s!%prefix%!$(prefix)!g" < "$(srcdir)/IDLE/IDLE.app/Contents/MacOS/IDLE" > "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app/Contents/MacOS/IDLE" + sed "s!%version%!`$(RUNSHARED) $(BUILDPYTHON) -c 'import platform; print(platform.python_version())'`!g" < "$(srcdir)/IDLE/IDLE.app/Contents/Info.plist" > "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app/Contents/Info.plist" touch "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app" $(INSTALLED_PYTHONAPP): install_Python |