summaryrefslogtreecommitdiffstats
path: root/Mac/Makefile.in
diff options
context:
space:
mode:
authorNed Deily <nad@acm.org>2013-10-27 05:23:20 (GMT)
committerNed Deily <nad@acm.org>2013-10-27 05:23:20 (GMT)
commitb9dcfea092fa223de2a89c8eae6bb4e7dc2d8959 (patch)
treebbe24ef4509588cdfea23c5618bc2bad3d3d89ce /Mac/Makefile.in
parent624a74e4b775c93293f5dece9f6ed8407d2aec9f (diff)
parent246eb1105842c746a80865cd492502ad413949c2 (diff)
downloadcpython-b9dcfea092fa223de2a89c8eae6bb4e7dc2d8959.zip
cpython-b9dcfea092fa223de2a89c8eae6bb4e7dc2d8959.tar.gz
cpython-b9dcfea092fa223de2a89c8eae6bb4e7dc2d8959.tar.bz2
Issue Issue #15663: merge from 3.3
Diffstat (limited to 'Mac/Makefile.in')
-rw-r--r--Mac/Makefile.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/Mac/Makefile.in b/Mac/Makefile.in
index 354c1fd..5cb664d 100644
--- a/Mac/Makefile.in
+++ b/Mac/Makefile.in
@@ -166,6 +166,10 @@ install_IDLE:
-test -d "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app" && rm -rf "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app"
/bin/cp -PR "$(srcdir)/IDLE/IDLE.app" "$(DESTDIR)$(PYTHONAPPSDIR)"
ln -sf "$(INSTALLED_PYTHONAPP)" "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app/Contents/MacOS/Python"
+ifneq ($(LIPO_32BIT_FLAGS),)
+ rm "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app/Contents/MacOS/Python"
+ lipo $(LIPO_32BIT_FLAGS) -output "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app/Contents/MacOS/Python" "$(BUILDPYTHON)"
+endif
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 \