make the symlink to Python be created on install for IDLE.app
authorBenjamin Peterson <benjamin@python.org>
Sat, 5 Jul 2008 22:51:21 +0000 (22:51 +0000)
committerBenjamin Peterson <benjamin@python.org>
Sat, 5 Jul 2008 22:51:21 +0000 (22:51 +0000)
Mac/IDLE/IDLE.app/Contents/MacOS/Python [deleted symlink]
Mac/Makefile.in

diff --git a/Mac/IDLE/IDLE.app/Contents/MacOS/Python b/Mac/IDLE/IDLE.app/Contents/MacOS/Python
deleted file mode 120000 (symlink)
index c8ff949..0000000
+++ /dev/null
@@ -1 +0,0 @@
-/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python
\ No newline at end of file
index f4bf9af551b367abc6422f60a24eadf1cb24a165..8cabb281c8e1599effe55657f0e45009c6482637 100644 (file)
@@ -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