| OLD | NEW |
| 1 # This file can be invoked from the various frameworkinstall... targets in the | 1 # This file can be invoked from the various frameworkinstall... targets in the |
| 2 # main Makefile. The next couple of variables are overridden on the | 2 # main Makefile. The next couple of variables are overridden on the |
| 3 # commandline in that case. | 3 # commandline in that case. |
| 4 | 4 |
| 5 VERSION=@VERSION@ | 5 VERSION=@VERSION@ |
| 6 builddir = .. | 6 builddir = .. |
| 7 srcdir=@srcdir@ | 7 srcdir=@srcdir@ |
| 8 prefix=@prefix@ | 8 prefix=@prefix@ |
| 9 LIBDEST=$(prefix)/lib/python$(VERSION) | 9 LIBDEST=$(prefix)/lib/python$(VERSION) |
| 10 RUNSHARED=@RUNSHARED@ | 10 RUNSHARED=@RUNSHARED@ |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 # Install unix tools in /usr/local/bin. These are just aliases for the | 65 # Install unix tools in /usr/local/bin. These are just aliases for the |
| 66 # actual installation inside the framework. | 66 # actual installation inside the framework. |
| 67 # | 67 # |
| 68 installunixtools: | 68 installunixtools: |
| 69 if [ ! -d "$(DESTDIR)$(FRAMEWORKUNIXTOOLSPREFIX)/bin" ]; then \ | 69 if [ ! -d "$(DESTDIR)$(FRAMEWORKUNIXTOOLSPREFIX)/bin" ]; then \ |
| 70 $(INSTALL) -d -m $(DIRMODE) "$(DESTDIR)$(FRAMEWORKUNIXTOOLSPREFI
X)/bin" ;\ | 70 $(INSTALL) -d -m $(DIRMODE) "$(DESTDIR)$(FRAMEWORKUNIXTOOLSPREFI
X)/bin" ;\ |
| 71 fi | 71 fi |
| 72 for fn in python3 pythonw3 idle3 pydoc3 python3-config \ | 72 for fn in python3 pythonw3 idle3 pydoc3 python3-config \ |
| 73 python$(VERSION) pythonw$(VERSION) idle$(VERSION) \ | 73 python$(VERSION) pythonw$(VERSION) idle$(VERSION) \ |
| 74 pydoc$(VERSION) python$(VERSION)-config 2to3 \ | 74 pydoc$(VERSION) python$(VERSION)-config 2to3 \ |
| 75 » » 2to3-$(VERSION) pyvenv pyvenv-$(VERSION) ;\ | 75 » » 2to3-$(VERSION) ;\ |
| 76 do \ | 76 do \ |
| 77 ln -fs "$(prefix)/bin/$${fn}" "$(DESTDIR)$(FRAMEWORKUNIXTOOLSPRE
FIX)/bin/$${fn}" ;\ | 77 ln -fs "$(prefix)/bin/$${fn}" "$(DESTDIR)$(FRAMEWORKUNIXTOOLSPRE
FIX)/bin/$${fn}" ;\ |
| 78 done | 78 done |
| 79 ifneq ($(LIPO_32BIT_FLAGS),) | 79 ifneq ($(LIPO_32BIT_FLAGS),) |
| 80 for fn in python3-32 pythonw3-32 \ | 80 for fn in python3-32 pythonw3-32 \ |
| 81 python$(VERSION)-32 pythonw$(VERSION)-32 ;\ | 81 python$(VERSION)-32 pythonw$(VERSION)-32 ;\ |
| 82 do \ | 82 do \ |
| 83 ln -fs "$(prefix)/bin/$${fn}" "$(DESTDIR)$(FRAMEWORKUNIXTOOLSPRE
FIX)/bin/$${fn}" ;\ | 83 ln -fs "$(prefix)/bin/$${fn}" "$(DESTDIR)$(FRAMEWORKUNIXTOOLSPRE
FIX)/bin/$${fn}" ;\ |
| 84 done | 84 done |
| 85 endif | 85 endif |
| 86 | 86 |
| 87 | 87 |
| 88 # | 88 # |
| 89 # Like installunixtools, but only install links to the versioned binaries. | 89 # Like installunixtools, but only install links to the versioned binaries. |
| 90 # | 90 # |
| 91 altinstallunixtools: | 91 altinstallunixtools: |
| 92 if [ ! -d "$(DESTDIR)$(FRAMEWORKUNIXTOOLSPREFIX)/bin" ]; then \ | 92 if [ ! -d "$(DESTDIR)$(FRAMEWORKUNIXTOOLSPREFIX)/bin" ]; then \ |
| 93 $(INSTALL) -d -m $(DIRMODE) "$(DESTDIR)$(FRAMEWORKUNIXTOOLSPREFI
X)/bin" ;\ | 93 $(INSTALL) -d -m $(DIRMODE) "$(DESTDIR)$(FRAMEWORKUNIXTOOLSPREFI
X)/bin" ;\ |
| 94 fi | 94 fi |
| 95 for fn in python$(VERSION) pythonw$(VERSION) idle$(VERSION) \ | 95 for fn in python$(VERSION) pythonw$(VERSION) idle$(VERSION) \ |
| 96 » » pydoc$(VERSION) python$(VERSION)-config 2to3-$(VERSION) pyvenv
-$(VERSION) ;\ | 96 » » pydoc$(VERSION) python$(VERSION)-config 2to3-$(VERSION);\ |
| 97 do \ | 97 do \ |
| 98 ln -fs "$(prefix)/bin/$${fn}" "$(DESTDIR)$(FRAMEWORKUNIXTOOLSPRE
FIX)/bin/$${fn}" ;\ | 98 ln -fs "$(prefix)/bin/$${fn}" "$(DESTDIR)$(FRAMEWORKUNIXTOOLSPRE
FIX)/bin/$${fn}" ;\ |
| 99 done | 99 done |
| 100 ifneq ($(LIPO_32BIT_FLAGS),) | 100 ifneq ($(LIPO_32BIT_FLAGS),) |
| 101 for fn in python$(VERSION)-32 pythonw$(VERSION)-32 ;\ | 101 for fn in python$(VERSION)-32 pythonw$(VERSION)-32 ;\ |
| 102 do \ | 102 do \ |
| 103 ln -fs "$(prefix)/bin/$${fn}" "$(DESTDIR)$(FRAMEWORKUNIXTOOLSPRE
FIX)/bin/$${fn}" ;\ | 103 ln -fs "$(prefix)/bin/$${fn}" "$(DESTDIR)$(FRAMEWORKUNIXTOOLSPRE
FIX)/bin/$${fn}" ;\ |
| 104 done | 104 done |
| 105 endif | 105 endif |
| 106 | 106 |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 echo "* WARNING: Run $(srcdir)/Tools/fixapplepython23.py with \"
sudo\" to fix this."; \ | 203 echo "* WARNING: Run $(srcdir)/Tools/fixapplepython23.py with \"
sudo\" to fix this."; \ |
| 204 fi | 204 fi |
| 205 | 205 |
| 206 | 206 |
| 207 clean: | 207 clean: |
| 208 rm pythonw | 208 rm pythonw |
| 209 cd PythonLauncher && make clean | 209 cd PythonLauncher && make clean |
| 210 | 210 |
| 211 Makefile: $(srcdir)/Makefile.in ../config.status | 211 Makefile: $(srcdir)/Makefile.in ../config.status |
| 212 cd .. && CONFIG_FILES=Mac/Makefile CONFIG_HEADERS= $(SHELL) ./config.sta
tus | 212 cd .. && CONFIG_FILES=Mac/Makefile CONFIG_HEADERS= $(SHELL) ./config.sta
tus |
| OLD | NEW |