summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-07-05 22:51:21 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-07-05 22:51:21 (GMT)
commitbbea7972a40e86710be6b03e106efdd32fbcaca5 (patch)
tree7eb374d2bd4535eae1cdeb2dd47b341b92011fb6 /Mac
parentbebfbe2d1138216a5023ce067f6d1fbc29a437c6 (diff)
downloadcpython-bbea7972a40e86710be6b03e106efdd32fbcaca5.zip
cpython-bbea7972a40e86710be6b03e106efdd32fbcaca5.tar.gz
cpython-bbea7972a40e86710be6b03e106efdd32fbcaca5.tar.bz2
make the symlink to Python be created on install for IDLE.app
Diffstat (limited to 'Mac')
l---------Mac/IDLE/IDLE.app/Contents/MacOS/Python1
-rw-r--r--Mac/Makefile.in1
2 files changed, 1 insertions, 1 deletions
diff --git a/Mac/IDLE/IDLE.app/Contents/MacOS/Python b/Mac/IDLE/IDLE.app/Contents/MacOS/Python
deleted file mode 120000
index c8ff949..0000000
--- a/Mac/IDLE/IDLE.app/Contents/MacOS/Python
+++ /dev/null
@@ -1 +0,0 @@
-/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python \ No newline at end of file
diff --git a/Mac/Makefile.in b/Mac/Makefile.in
index f4bf9af..8cabb28 100644
--- a/Mac/Makefile.in
+++ b/Mac/Makefile.in
@@ -162,6 +162,7 @@ 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)"
+ ln -sf $(INSTALLED_PYTHONAPP) "$(DESDIR)$(PYTHONAPPSDIR)/IDLE.app/Contents/MacOS/Python"
touch "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app"
$(INSTALLED_PYTHONAPP): install_Python