summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-01-28 21:45:44 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-01-28 21:45:44 (GMT)
commit50abec8fc4c72663310237f7cfda2e09ddca2757 (patch)
treef6c085eb3ab53778ddf76a4aa070ddab0d2b743d /Mac
parent28827e2406ca891b4a5668af5c556cbfa528d529 (diff)
downloadcpython-50abec8fc4c72663310237f7cfda2e09ddca2757.zip
cpython-50abec8fc4c72663310237f7cfda2e09ddca2757.tar.gz
cpython-50abec8fc4c72663310237f7cfda2e09ddca2757.tar.bz2
Install "python$(VERSION)" into /usr/local as the symlink to the framework,
and also create a symlink "python" pointing to "python$(VERSION)". Fixes #675745.
Diffstat (limited to 'Mac')
-rw-r--r--Mac/OSX/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Mac/OSX/Makefile b/Mac/OSX/Makefile
index 41f4acd..e5ad5c4 100644
--- a/Mac/OSX/Makefile
+++ b/Mac/OSX/Makefile
@@ -205,7 +205,9 @@ $(APPINSTALLDIR)/Contents/MacOS/python: install_Python
installunixtools: $(INSTALLED_PYTHON) $(INSTALLED_PYTHONW)
$(INSTALL) -d $(bindir)
- $(INSTALL_SYMLINK) $(INSTALLED_PYTHON) $(bindir)/python
+ $(INSTALL_SYMLINK) $(INSTALLED_PYTHON) $(bindir)/python$(VERSION)
+ $(INSTALL_SYMLINK) python$(VERSION) $(bindir)/python
echo "#!/bin/sh" > pythonw.sh
echo "exec \"$(INSTALLED_PYTHONW)\" \"\$$@\"" >> pythonw.sh
- $(INSTALL) pythonw.sh $(bindir)/pythonw
+ $(INSTALL) pythonw.sh $(bindir)/pythonw$(VERSION)
+ $(INSTALL_SYMLINK) pythonw$(VERSION) $(bindir)/pythonw