]> granicus.if.org Git - python/commitdiff
Install "python$(VERSION)" into /usr/local as the symlink to the framework,
authorJack Jansen <jack.jansen@cwi.nl>
Tue, 28 Jan 2003 21:45:44 +0000 (21:45 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Tue, 28 Jan 2003 21:45:44 +0000 (21:45 +0000)
and also create a symlink "python" pointing to "python$(VERSION)".
Fixes #675745.

Mac/OSX/Makefile

index 41f4acd3d3c7c2038fa36e5aa7121d0e63ec0760..e5ad5c458792fb8d4c1a02fa6aa2fe8c1a5ab0bc 100644 (file)
@@ -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