diff options
author | Ronald Oussoren <ronaldoussoren@mac.com> | 2009-02-12 15:12:03 (GMT) |
---|---|---|
committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2009-02-12 15:12:03 (GMT) |
commit | 711b578da5b04d3c12e8fab2982c5821174df8b8 (patch) | |
tree | 595a8f1769fca865893db492e6d681ec360d9e06 /Mac/Makefile.in | |
parent | 827822ef3f389548ca2ac11b11c5e498f45fe78a (diff) | |
download | cpython-711b578da5b04d3c12e8fab2982c5821174df8b8.zip cpython-711b578da5b04d3c12e8fab2982c5821174df8b8.tar.gz cpython-711b578da5b04d3c12e8fab2982c5821174df8b8.tar.bz2 |
Fix for issue5195, a patch by Ned Deily
Diffstat (limited to 'Mac/Makefile.in')
-rw-r--r-- | Mac/Makefile.in | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Mac/Makefile.in b/Mac/Makefile.in index e847ba9..2a5603d 100644 --- a/Mac/Makefile.in +++ b/Mac/Makefile.in @@ -220,6 +220,23 @@ install_IDLE: ln -sf $(INSTALLED_PYTHONAPP) "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app/Contents/MacOS/Python" sed -e "s!%prefix%!$(prefix)!g" -e 's!%exe%!$(PYTHONFRAMEWORK)!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" + if [ -f "$(DESTDIR)$(LIBDEST)/idlelib/config-main.def" ]; then \ + /bin/cp -p "$(DESTDIR)$(LIBDEST)/idlelib/config-main.def" \ + "$(DESTDIR)$(LIBDEST)/idlelib/config-main.def~" ; \ + sed -e 's!name= IDLE Classic Windows!name= IDLE Classic OSX!g' \ + < "$(DESTDIR)$(LIBDEST)/idlelib/config-main.def~" \ + > "$(DESTDIR)$(LIBDEST)/idlelib/config-main.def" ; \ + rm "$(DESTDIR)$(LIBDEST)/idlelib/config-main.def~" ; \ + fi + if [ -f "$(DESTDIR)$(LIBDEST)/idlelib/config-extensions.def" ]; then \ + /bin/cp -p "$(DESTDIR)$(LIBDEST)/idlelib/config-extensions.def" \ + "$(DESTDIR)$(LIBDEST)/idlelib/config-extensions.def~" ; \ + sed -e 's!zoom-height=<Alt-Key-2>!zoom-height=<Option-Key-0>!g' \ + -e 's!<Alt-Key-!<Option-Key-!g' \ + < "$(DESTDIR)$(LIBDEST)/idlelib/config-extensions.def~" \ + > "$(DESTDIR)$(LIBDEST)/idlelib/config-extensions.def" ; \ + rm "$(DESTDIR)$(LIBDEST)/idlelib/config-extensions.def~" ; \ + fi touch "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app" $(INSTALLED_PYTHONAPP): install_Python |