Thomas Wouters | 477c8d5 | 2006-05-27 19:21:47 +0000 | [diff] [blame] | 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 |
| 3 | # commandline in that case. |
| 4 | |
| 5 | VERSION=@VERSION@ |
Thomas Wouters | 73e5a5b | 2006-06-08 15:35:45 +0000 | [diff] [blame] | 6 | builddir = .. |
| 7 | srcdir=@srcdir@ |
Thomas Wouters | 0e3f591 | 2006-08-11 14:57:12 +0000 | [diff] [blame] | 8 | prefix=@prefix@ |
Thomas Wouters | 477c8d5 | 2006-05-27 19:21:47 +0000 | [diff] [blame] | 9 | LIBDEST=$(prefix)/lib/python$(VERSION) |
Thomas Wouters | 73e5a5b | 2006-06-08 15:35:45 +0000 | [diff] [blame] | 10 | RUNSHARED=@RUNSHARED@ |
| 11 | BUILDEXE=@BUILDEXEEXT@ |
| 12 | BUILDPYTHON=$(builddir)/python$(BUILDEXE) |
Thomas Wouters | 477c8d5 | 2006-05-27 19:21:47 +0000 | [diff] [blame] | 13 | DESTDIR= |
Thomas Wouters | 73e5a5b | 2006-06-08 15:35:45 +0000 | [diff] [blame] | 14 | LDFLAGS=@LDFLAGS@ |
| 15 | FRAMEWORKUNIXTOOLSPREFIX=@FRAMEWORKUNIXTOOLSPREFIX@ |
Christian Heimes | 81ee3ef | 2008-05-04 22:42:01 +0000 | [diff] [blame] | 16 | PYTHONFRAMEWORK=@PYTHONFRAMEWORK@ |
Ronald Oussoren | f29b6b4 | 2009-03-30 20:00:00 +0000 | [diff] [blame] | 17 | PYTHONFRAMEWORKIDENTIFIER=@PYTHONFRAMEWORKIDENTIFIER@ |
Ronald Oussoren | 6f6c562 | 2009-12-24 14:03:19 +0000 | [diff] [blame] | 18 | LIPO_32BIT_FLAGS=@LIPO_32BIT_FLAGS@ |
Ronald Oussoren | 755740f | 2010-02-07 19:56:39 +0000 | [diff] [blame] | 19 | CC=@CC@ |
Christian Heimes | 81ee3ef | 2008-05-04 22:42:01 +0000 | [diff] [blame] | 20 | |
Thomas Wouters | 477c8d5 | 2006-05-27 19:21:47 +0000 | [diff] [blame] | 21 | |
| 22 | # These are normally glimpsed from the previous set |
Thomas Wouters | 73e5a5b | 2006-06-08 15:35:45 +0000 | [diff] [blame] | 23 | bindir=$(prefix)/bin |
Christian Heimes | 81ee3ef | 2008-05-04 22:42:01 +0000 | [diff] [blame] | 24 | PYTHONAPPSDIR=/Applications/$(PYTHONFRAMEWORK) $(VERSION) |
Thomas Wouters | 477c8d5 | 2006-05-27 19:21:47 +0000 | [diff] [blame] | 25 | APPINSTALLDIR=$(prefix)/Resources/Python.app |
| 26 | |
| 27 | # Variables for installing the "normal" unix binaries |
Christian Heimes | 81ee3ef | 2008-05-04 22:42:01 +0000 | [diff] [blame] | 28 | INSTALLED_PYTHONAPP=$(APPINSTALLDIR)/Contents/MacOS/$(PYTHONFRAMEWORK) |
Thomas Wouters | 477c8d5 | 2006-05-27 19:21:47 +0000 | [diff] [blame] | 29 | |
| 30 | # Items more-or-less copied from the main Makefile |
| 31 | DIRMODE=755 |
| 32 | FILEMODE=644 |
| 33 | INSTALL=@INSTALL@ |
| 34 | INSTALL_SYMLINK=ln -fsn |
| 35 | INSTALL_PROGRAM=@INSTALL_PROGRAM@ |
| 36 | INSTALL_SCRIPT= @INSTALL_SCRIPT@ |
| 37 | INSTALL_DATA=@INSTALL_DATA@ |
| 38 | LN=@LN@ |
| 39 | STRIPFLAG=-s |
| 40 | CPMAC=/Developer/Tools/CpMac |
| 41 | |
Thomas Wouters | 73e5a5b | 2006-06-08 15:35:45 +0000 | [diff] [blame] | 42 | APPTEMPLATE=$(srcdir)/Resources/app |
Ronald Oussoren | f84d7e9 | 2009-05-19 11:27:25 +0000 | [diff] [blame] | 43 | APPSUBDIRS=MacOS Resources |
Thomas Wouters | 73e5a5b | 2006-06-08 15:35:45 +0000 | [diff] [blame] | 44 | compileall=$(srcdir)/../Lib/compileall.py |
Thomas Wouters | 477c8d5 | 2006-05-27 19:21:47 +0000 | [diff] [blame] | 45 | |
Ronald Oussoren | 6f6c562 | 2009-12-24 14:03:19 +0000 | [diff] [blame] | 46 | installapps: install_Python install_pythonw install_PythonLauncher install_IDLE \ |
| 47 | checkapplepython install_versionedtools |
Georg Brandl | fcaf910 | 2008-07-16 02:17:56 +0000 | [diff] [blame] | 48 | |
| 49 | |
Thomas Wouters | 477c8d5 | 2006-05-27 19:21:47 +0000 | [diff] [blame] | 50 | install_pythonw: pythonw |
| 51 | $(INSTALL_PROGRAM) $(STRIPFLAG) pythonw "$(DESTDIR)$(prefix)/bin/pythonw$(VERSION)" |
| 52 | $(INSTALL_PROGRAM) $(STRIPFLAG) pythonw "$(DESTDIR)$(prefix)/bin/python$(VERSION)" |
Ronald Oussoren | 38e2d8e | 2009-05-17 10:45:53 +0000 | [diff] [blame] | 53 | ln -sf python$(VERSION) "$(DESTDIR)$(prefix)/bin/python3" |
| 54 | ln -sf pythonw$(VERSION) "$(DESTDIR)$(prefix)/bin/pythonw3" |
Ronald Oussoren | 6f6c562 | 2009-12-24 14:03:19 +0000 | [diff] [blame] | 55 | ifneq ($(LIPO_32BIT_FLAGS),) |
| 56 | lipo $(LIPO_32BIT_FLAGS) -output $(DESTDIR)$(prefix)/bin/python$(VERSION)-32 pythonw |
| 57 | lipo $(LIPO_32BIT_FLAGS) -output $(DESTDIR)$(prefix)/bin/pythonw$(VERSION)-32 pythonw |
Georg Brandl | fcaf910 | 2008-07-16 02:17:56 +0000 | [diff] [blame] | 58 | ln -sf pythonw$(VERSION)-32 "$(DESTDIR)$(prefix)/bin/pythonw$(VERSION)" |
| 59 | ln -sf python$(VERSION)-32 "$(DESTDIR)$(prefix)/bin/python$(VERSION)" |
Ronald Oussoren | 6f6c562 | 2009-12-24 14:03:19 +0000 | [diff] [blame] | 60 | endif |
Georg Brandl | fcaf910 | 2008-07-16 02:17:56 +0000 | [diff] [blame] | 61 | |
Thomas Wouters | 477c8d5 | 2006-05-27 19:21:47 +0000 | [diff] [blame] | 62 | # |
| 63 | # Install unix tools in /usr/local/bin. These are just aliases for the |
| 64 | # actual installation inside the framework. |
| 65 | # |
| 66 | installunixtools: |
Thomas Wouters | 73e5a5b | 2006-06-08 15:35:45 +0000 | [diff] [blame] | 67 | if [ ! -d "$(DESTDIR)$(FRAMEWORKUNIXTOOLSPREFIX)/bin" ]; then \ |
| 68 | $(INSTALL) -d -m $(DIRMODE) "$(DESTDIR)$(FRAMEWORKUNIXTOOLSPREFIX)/bin" ;\ |
Thomas Wouters | 477c8d5 | 2006-05-27 19:21:47 +0000 | [diff] [blame] | 69 | fi |
Ronald Oussoren | 38e2d8e | 2009-05-17 10:45:53 +0000 | [diff] [blame] | 70 | for fn in python3 pythonw3 idle3 pydoc3 python3-config \ |
Thomas Wouters | 73e5a5b | 2006-06-08 15:35:45 +0000 | [diff] [blame] | 71 | python$(VERSION) pythonw$(VERSION) idle$(VERSION) \ |
Ronald Oussoren | afbca49 | 2009-05-26 21:18:59 +0000 | [diff] [blame] | 72 | pydoc$(VERSION) python$(VERSION)-config 2to3 \ |
| 73 | 2to3-$(VERSION) ;\ |
Thomas Wouters | 477c8d5 | 2006-05-27 19:21:47 +0000 | [diff] [blame] | 74 | do \ |
Thomas Wouters | 73e5a5b | 2006-06-08 15:35:45 +0000 | [diff] [blame] | 75 | ln -fs "$(prefix)/bin/$${fn}" "$(DESTDIR)$(FRAMEWORKUNIXTOOLSPREFIX)/bin/$${fn}" ;\ |
Thomas Wouters | 477c8d5 | 2006-05-27 19:21:47 +0000 | [diff] [blame] | 76 | done |
| 77 | |
Georg Brandl | fcaf910 | 2008-07-16 02:17:56 +0000 | [diff] [blame] | 78 | |
Thomas Wouters | 73e5a5b | 2006-06-08 15:35:45 +0000 | [diff] [blame] | 79 | # |
| 80 | # Like installunixtools, but only install links to the versioned binaries. |
| 81 | # |
| 82 | altinstallunixtools: |
| 83 | if [ ! -d "$(DESTDIR)$(FRAMEWORKUNIXTOOLSPREFIX)/bin" ]; then \ |
| 84 | $(INSTALL) -d -m $(DIRMODE) "$(DESTDIR)$(FRAMEWORKUNIXTOOLSPREFIX)/bin" ;\ |
| 85 | fi |
| 86 | for fn in python$(VERSION) pythonw$(VERSION) idle$(VERSION) \ |
Ronald Oussoren | afbca49 | 2009-05-26 21:18:59 +0000 | [diff] [blame] | 87 | pydoc$(VERSION) python$(VERSION)-config 2to3-$(VERSION);\ |
Thomas Wouters | 73e5a5b | 2006-06-08 15:35:45 +0000 | [diff] [blame] | 88 | do \ |
| 89 | ln -fs "$(prefix)/bin/$${fn}" "$(DESTDIR)$(FRAMEWORKUNIXTOOLSPREFIX)/bin/$${fn}" ;\ |
| 90 | done |
| 91 | |
Thomas Wouters | 477c8d5 | 2006-05-27 19:21:47 +0000 | [diff] [blame] | 92 | # By default most tools are installed without a version in their basename, to |
| 93 | # make it easier to install (and use) several python versions side-by-side move |
| 94 | # the tools to a version-specific name and add the non-versioned name as an |
| 95 | # alias. |
| 96 | install_versionedtools: |
Georg Brandl | fcaf910 | 2008-07-16 02:17:56 +0000 | [diff] [blame] | 97 | for fn in idle pydoc ;\ |
Thomas Wouters | 477c8d5 | 2006-05-27 19:21:47 +0000 | [diff] [blame] | 98 | do \ |
Ronald Oussoren | 38e2d8e | 2009-05-17 10:45:53 +0000 | [diff] [blame] | 99 | if [ -h "$(DESTDIR)$(prefix)/bin/$${fn}3" ]; then \ |
Thomas Wouters | 477c8d5 | 2006-05-27 19:21:47 +0000 | [diff] [blame] | 100 | continue ;\ |
| 101 | fi ;\ |
Ronald Oussoren | 38e2d8e | 2009-05-17 10:45:53 +0000 | [diff] [blame] | 102 | mv "$(DESTDIR)$(prefix)/bin/$${fn}3" "$(DESTDIR)$(prefix)/bin/$${fn}$(VERSION)" ;\ |
| 103 | ln -sf "$${fn}$(VERSION)" "$(DESTDIR)$(prefix)/bin/$${fn}3" ;\ |
Thomas Wouters | 477c8d5 | 2006-05-27 19:21:47 +0000 | [diff] [blame] | 104 | done |
Ronald Oussoren | afbca49 | 2009-05-26 21:18:59 +0000 | [diff] [blame] | 105 | mv "$(DESTDIR)$(prefix)/bin/2to3" "$(DESTDIR)$(prefix)/bin/2to3-$(VERSION)" |
Ronald Oussoren | 8e5bda4 | 2009-06-07 15:34:13 +0000 | [diff] [blame] | 106 | ln -sf "2to3-$(VERSION)" "$(DESTDIR)$(prefix)/bin/2to3" |
Ronald Oussoren | 38e2d8e | 2009-05-17 10:45:53 +0000 | [diff] [blame] | 107 | if [ ! -h "$(DESTDIR)$(prefix)/bin/python3-config" ]; then \ |
| 108 | mv "$(DESTDIR)$(prefix)/bin/python3-config" "$(DESTDIR)$(prefix)/bin/python$(VERSION)-config" ;\ |
| 109 | ln -sf "python$(VERSION)-config" "$(DESTDIR)$(prefix)/bin/python3-config" ; \ |
Thomas Wouters | 477c8d5 | 2006-05-27 19:21:47 +0000 | [diff] [blame] | 110 | fi |
| 111 | |
| 112 | |
Thomas Wouters | 89f507f | 2006-12-13 04:49:30 +0000 | [diff] [blame] | 113 | pythonw: $(srcdir)/Tools/pythonw.c Makefile |
Ronald Oussoren | b366cda | 2010-03-07 09:14:06 +0000 | [diff] [blame^] | 114 | $(CC) $(LDFLAGS) -DPYTHONFRAMEWORK='"$(PYTHONFRAMEWORK)"' -o $@ $(srcdir)/Tools/pythonw.c -I.. -I$(srcdir)/../Include ../$(PYTHONFRAMEWORK).framework/Versions/$(VERSION)/$(PYTHONFRAMEWORK) |
Thomas Wouters | 477c8d5 | 2006-05-27 19:21:47 +0000 | [diff] [blame] | 115 | |
| 116 | install_PythonLauncher: |
| 117 | cd PythonLauncher && make install DESTDIR=$(DESTDIR) |
| 118 | |
| 119 | install_Python: |
Thomas Wouters | 477c8d5 | 2006-05-27 19:21:47 +0000 | [diff] [blame] | 120 | @for i in "$(PYTHONAPPSDIR)" "$(APPINSTALLDIR)" "$(APPINSTALLDIR)/Contents"; do \ |
| 121 | if test ! -d "$(DESTDIR)$$i"; then \ |
| 122 | echo "Creating directory $(DESTDIR)$$i"; \ |
| 123 | $(INSTALL) -d -m $(DIRMODE) "$(DESTDIR)$$i"; \ |
| 124 | fi;\ |
| 125 | done |
| 126 | @for i in $(APPSUBDIRS); do \ |
| 127 | if test ! -d "$(DESTDIR)$(APPINSTALLDIR)/Contents/$$i"; then \ |
| 128 | echo "Creating directory $(DESTDIR)$(APPINSTALLDIR)/Contents/$$i"; \ |
| 129 | $(INSTALL) -d -m $(DIRMODE) "$(DESTDIR)$(APPINSTALLDIR)/Contents/$$i"; \ |
| 130 | else true; \ |
| 131 | fi; \ |
| 132 | done |
| 133 | @for d in . $(APPSUBDIRS); \ |
| 134 | do \ |
| 135 | a=$(APPTEMPLATE)/$$d; \ |
| 136 | if test ! -d $$a; then continue; else true; fi; \ |
| 137 | b="$(DESTDIR)$(APPINSTALLDIR)/Contents/$$d"; \ |
| 138 | for i in $$a/*; \ |
| 139 | do \ |
| 140 | case $$i in \ |
| 141 | *CVS) ;; \ |
| 142 | *.svn) ;; \ |
| 143 | *.py[co]) ;; \ |
| 144 | *.orig) ;; \ |
| 145 | *~) ;; \ |
| 146 | *idx) \ |
| 147 | echo $(CPMAC) "$$i" $$b; \ |
| 148 | $(CPMAC) "$$i" "$$b"; \ |
| 149 | ;; \ |
| 150 | *) \ |
| 151 | if test -d $$i; then continue; fi; \ |
| 152 | if test -x $$i; then \ |
| 153 | echo $(INSTALL_SCRIPT) "$$i" "$$b"; \ |
| 154 | $(INSTALL_SCRIPT) "$$i" "$$b"; \ |
| 155 | else \ |
| 156 | echo $(INSTALL_DATA) "$$i" "$$b"; \ |
| 157 | $(INSTALL_DATA) "$$i" "$$b"; \ |
| 158 | fi;; \ |
| 159 | esac; \ |
| 160 | done; \ |
| 161 | done |
Christian Heimes | 81ee3ef | 2008-05-04 22:42:01 +0000 | [diff] [blame] | 162 | $(INSTALL_PROGRAM) $(STRIPFLAG) $(BUILDPYTHON) "$(DESTDIR)$(APPINSTALLDIR)/Contents/MacOS/$(PYTHONFRAMEWORK)" |
Ronald Oussoren | f29b6b4 | 2009-03-30 20:00:00 +0000 | [diff] [blame] | 163 | sed -e "s!%bundleid%!$(PYTHONFRAMEWORKIDENTIFIER)!g" \ |
| 164 | -e "s!%version%!`$(RUNSHARED) $(BUILDPYTHON) \ |
| 165 | -c 'import platform; print(platform.python_version())'`!g" \ |
| 166 | < "$(DESTDIR)$(APPINSTALLDIR)/Contents/Info.plist.in" \ |
| 167 | > "$(DESTDIR)$(APPINSTALLDIR)/Contents/Info.plist" |
| 168 | rm "$(DESTDIR)$(APPINSTALLDIR)/Contents/Info.plist.in" |
Thomas Wouters | 477c8d5 | 2006-05-27 19:21:47 +0000 | [diff] [blame] | 169 | |
Georg Brandl | fcaf910 | 2008-07-16 02:17:56 +0000 | [diff] [blame] | 170 | |
Thomas Wouters | 477c8d5 | 2006-05-27 19:21:47 +0000 | [diff] [blame] | 171 | install_IDLE: |
Benjamin Peterson | de9c869 | 2008-07-01 18:23:09 +0000 | [diff] [blame] | 172 | test -d "$(DESTDIR)$(PYTHONAPPSDIR)" || mkdir -p "$(DESTDIR)$(PYTHONAPPSDIR)" |
Ronald Oussoren | 827822e | 2009-02-12 15:01:44 +0000 | [diff] [blame] | 173 | -test -d "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app" && rm -rf "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app" |
Ronald Oussoren | af11860 | 2009-01-02 11:48:29 +0000 | [diff] [blame] | 174 | /bin/cp -PR "$(srcdir)/IDLE/IDLE.app" "$(DESTDIR)$(PYTHONAPPSDIR)" |
Ronald Oussoren | 672f62a | 2009-02-12 15:18:15 +0000 | [diff] [blame] | 175 | ln -sf "$(INSTALLED_PYTHONAPP)" "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app/Contents/MacOS/Python" |
Ronald Oussoren | af11860 | 2009-01-02 11:48:29 +0000 | [diff] [blame] | 176 | sed -e "s!%prefix%!$(prefix)!g" -e 's!%exe%!$(PYTHONFRAMEWORK)!g' < "$(srcdir)/IDLE/IDLE.app/Contents/MacOS/IDLE" > "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app/Contents/MacOS/IDLE" |
Ronald Oussoren | 2160015 | 2008-12-30 12:59:02 +0000 | [diff] [blame] | 177 | sed "s!%version%!`$(RUNSHARED) $(BUILDPYTHON) -c 'import platform; print(platform.python_version())'`!g" < "$(srcdir)/IDLE/IDLE.app/Contents/Info.plist" > "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app/Contents/Info.plist" |
Ronald Oussoren | 711b578 | 2009-02-12 15:12:03 +0000 | [diff] [blame] | 178 | if [ -f "$(DESTDIR)$(LIBDEST)/idlelib/config-main.def" ]; then \ |
| 179 | /bin/cp -p "$(DESTDIR)$(LIBDEST)/idlelib/config-main.def" \ |
| 180 | "$(DESTDIR)$(LIBDEST)/idlelib/config-main.def~" ; \ |
| 181 | sed -e 's!name= IDLE Classic Windows!name= IDLE Classic OSX!g' \ |
| 182 | < "$(DESTDIR)$(LIBDEST)/idlelib/config-main.def~" \ |
| 183 | > "$(DESTDIR)$(LIBDEST)/idlelib/config-main.def" ; \ |
| 184 | rm "$(DESTDIR)$(LIBDEST)/idlelib/config-main.def~" ; \ |
| 185 | fi |
| 186 | if [ -f "$(DESTDIR)$(LIBDEST)/idlelib/config-extensions.def" ]; then \ |
| 187 | /bin/cp -p "$(DESTDIR)$(LIBDEST)/idlelib/config-extensions.def" \ |
| 188 | "$(DESTDIR)$(LIBDEST)/idlelib/config-extensions.def~" ; \ |
| 189 | sed -e 's!zoom-height=<Alt-Key-2>!zoom-height=<Option-Key-0>!g' \ |
| 190 | -e 's!<Alt-Key-!<Option-Key-!g' \ |
| 191 | < "$(DESTDIR)$(LIBDEST)/idlelib/config-extensions.def~" \ |
| 192 | > "$(DESTDIR)$(LIBDEST)/idlelib/config-extensions.def" ; \ |
| 193 | rm "$(DESTDIR)$(LIBDEST)/idlelib/config-extensions.def~" ; \ |
| 194 | fi |
Benjamin Peterson | de9c869 | 2008-07-01 18:23:09 +0000 | [diff] [blame] | 195 | touch "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app" |
Thomas Wouters | 477c8d5 | 2006-05-27 19:21:47 +0000 | [diff] [blame] | 196 | |
Thomas Wouters | 73e5a5b | 2006-06-08 15:35:45 +0000 | [diff] [blame] | 197 | $(INSTALLED_PYTHONAPP): install_Python |
Thomas Wouters | 477c8d5 | 2006-05-27 19:21:47 +0000 | [diff] [blame] | 198 | |
Thomas Wouters | 73e5a5b | 2006-06-08 15:35:45 +0000 | [diff] [blame] | 199 | installextras: $(srcdir)/Extras.ReadMe.txt $(srcdir)/Extras.install.py |
Thomas Wouters | 477c8d5 | 2006-05-27 19:21:47 +0000 | [diff] [blame] | 200 | $(INSTALL) -d "$(DESTDIR)$(PYTHONAPPSDIR)/Extras" |
Thomas Wouters | 73e5a5b | 2006-06-08 15:35:45 +0000 | [diff] [blame] | 201 | $(INSTALL) $(srcdir)/Extras.ReadMe.txt "$(DESTDIR)$(PYTHONAPPSDIR)/Extras/ReadMe.txt" |
| 202 | $(RUNSHARED) $(BUILDPYTHON) $(srcdir)/Extras.install.py $(srcdir)/../Demo \ |
Thomas Wouters | 477c8d5 | 2006-05-27 19:21:47 +0000 | [diff] [blame] | 203 | "$(DESTDIR)$(PYTHONAPPSDIR)/Extras/Demo" |
Thomas Wouters | 73e5a5b | 2006-06-08 15:35:45 +0000 | [diff] [blame] | 204 | $(RUNSHARED) $(BUILDPYTHON) $(srcdir)/Extras.install.py $(srcdir)/Demo \ |
| 205 | "$(DESTDIR)$(PYTHONAPPSDIR)/Extras/Demo.Mac" |
Thomas Wouters | 477c8d5 | 2006-05-27 19:21:47 +0000 | [diff] [blame] | 206 | |
| 207 | |
Thomas Wouters | 73e5a5b | 2006-06-08 15:35:45 +0000 | [diff] [blame] | 208 | checkapplepython: $(srcdir)/Tools/fixapplepython23.py |
| 209 | @if ! $(RUNSHARED) $(BUILDPYTHON) $(srcdir)/Tools/fixapplepython23.py -n; then \ |
Thomas Wouters | 477c8d5 | 2006-05-27 19:21:47 +0000 | [diff] [blame] | 210 | echo "* WARNING: Apple-installed Python 2.3 will have trouble building extensions from now on."; \ |
Thomas Wouters | 73e5a5b | 2006-06-08 15:35:45 +0000 | [diff] [blame] | 211 | echo "* WARNING: Run $(srcdir)/Tools/fixapplepython23.py with \"sudo\" to fix this."; \ |
Thomas Wouters | 477c8d5 | 2006-05-27 19:21:47 +0000 | [diff] [blame] | 212 | fi |
| 213 | |
| 214 | |
| 215 | clean: |
| 216 | rm pythonw |
| 217 | cd PythonLauncher && make clean |
Thomas Wouters | 89f507f | 2006-12-13 04:49:30 +0000 | [diff] [blame] | 218 | |
| 219 | Makefile: $(srcdir)/Makefile.in ../config.status |
| 220 | cd .. && CONFIG_FILES=Mac/Makefile CONFIG_HEADERS= $(SHELL) ./config.status |