blob: 1b9a41f466dc62c64e80e74d6fd2f99989b6a52d [file] [log] [blame]
Ronald Oussoren836b0392006-05-14 19:56:34 +00001# 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
5VERSION=@VERSION@
Ned Deily3f1d0b32014-11-20 02:11:03 -08006ENSUREPIP=@ENSUREPIP@
Ronald Oussoren32f5d8f2006-06-07 19:02:03 +00007builddir = ..
8srcdir=@srcdir@
Ronald Oussoren4fbb0802006-06-11 20:23:29 +00009prefix=@prefix@
Ned Deily3f1d0b32014-11-20 02:11:03 -080010exec_prefix=@exec_prefix@
Ronald Oussoren836b0392006-05-14 19:56:34 +000011LIBDEST=$(prefix)/lib/python$(VERSION)
Ronald Oussoren32f5d8f2006-06-07 19:02:03 +000012RUNSHARED=@RUNSHARED@
13BUILDEXE=@BUILDEXEEXT@
14BUILDPYTHON=$(builddir)/python$(BUILDEXE)
Ronald Oussoren836b0392006-05-14 19:56:34 +000015DESTDIR=
Ronald Oussoren32f5d8f2006-06-07 19:02:03 +000016LDFLAGS=@LDFLAGS@
Ronald Oussoren5b787322006-06-06 19:50:24 +000017FRAMEWORKUNIXTOOLSPREFIX=@FRAMEWORKUNIXTOOLSPREFIX@
Ronald Oussoren580c7fe2008-05-02 19:45:11 +000018PYTHONFRAMEWORK=@PYTHONFRAMEWORK@
Ronald Oussoren354bb5c2009-03-30 19:56:25 +000019PYTHONFRAMEWORKIDENTIFIER=@PYTHONFRAMEWORKIDENTIFIER@
Ronald Oussoren92919a62009-12-24 13:30:58 +000020LIPO_32BIT_FLAGS=@LIPO_32BIT_FLAGS@
Ronald Oussorena55af9a2010-01-17 16:25:57 +000021CC=@CC@
Ronald Oussoren1bf02022010-04-20 08:53:12 +000022MACOSX_DEPLOYMENT_TARGET=@CONFIGURE_MACOSX_DEPLOYMENT_TARGET@
23export MACOSX_DEPLOYMENT_TARGET
Ronald Oussoren836b0392006-05-14 19:56:34 +000024
25# These are normally glimpsed from the previous set
Ned Deily3f1d0b32014-11-20 02:11:03 -080026BINDIR= @bindir@
Ronald Oussoren01d149f2010-04-30 11:20:14 +000027PYTHONAPPSDIR=@FRAMEWORKINSTALLAPPSPREFIX@/$(PYTHONFRAMEWORK) $(VERSION)
Ronald Oussoren836b0392006-05-14 19:56:34 +000028APPINSTALLDIR=$(prefix)/Resources/Python.app
29
30# Variables for installing the "normal" unix binaries
Ronald Oussoren580c7fe2008-05-02 19:45:11 +000031INSTALLED_PYTHONAPP=$(APPINSTALLDIR)/Contents/MacOS/$(PYTHONFRAMEWORK)
Ronald Oussoren836b0392006-05-14 19:56:34 +000032
33# Items more-or-less copied from the main Makefile
34DIRMODE=755
35FILEMODE=644
36INSTALL=@INSTALL@
37INSTALL_SYMLINK=ln -fsn
38INSTALL_PROGRAM=@INSTALL_PROGRAM@
39INSTALL_SCRIPT= @INSTALL_SCRIPT@
40INSTALL_DATA=@INSTALL_DATA@
41LN=@LN@
42STRIPFLAG=-s
Ned Deilye1c9794952013-01-29 00:07:46 -080043CPMAC=CpMac
Ronald Oussoren836b0392006-05-14 19:56:34 +000044
Ronald Oussoren32f5d8f2006-06-07 19:02:03 +000045APPTEMPLATE=$(srcdir)/Resources/app
Ned Deilye1c9794952013-01-29 00:07:46 -080046APPSUBDIRS=MacOS Resources
Ronald Oussoren32f5d8f2006-06-07 19:02:03 +000047CACHERSRC=$(srcdir)/scripts/cachersrc.py
48compileall=$(srcdir)/../Lib/compileall.py
Ronald Oussoren836b0392006-05-14 19:56:34 +000049
Ronald Oussoren92919a62009-12-24 13:30:58 +000050installapps: install_Python install_pythonw install_BuildApplet install_PythonLauncher \
51 install_IDLE checkapplepython install_versionedtools
Ronald Oussoren5640ce22008-06-05 12:58:24 +000052
53
Ronald Oussoren836b0392006-05-14 19:56:34 +000054install_pythonw: pythonw
55 $(INSTALL_PROGRAM) $(STRIPFLAG) pythonw "$(DESTDIR)$(prefix)/bin/pythonw$(VERSION)"
56 $(INSTALL_PROGRAM) $(STRIPFLAG) pythonw "$(DESTDIR)$(prefix)/bin/python$(VERSION)"
Ned Deilyc5df5632012-02-19 02:19:12 +010057 ln -sf python$(VERSION) "$(DESTDIR)$(prefix)/bin/python2"
58 ln -sf python2 "$(DESTDIR)$(prefix)/bin/python"
59 ln -sf pythonw$(VERSION) "$(DESTDIR)$(prefix)/bin/pythonw2"
60 ln -sf pythonw2 "$(DESTDIR)$(prefix)/bin/pythonw"
Ronald Oussoren92919a62009-12-24 13:30:58 +000061ifneq ($(LIPO_32BIT_FLAGS),)
62 lipo $(LIPO_32BIT_FLAGS) -output $(DESTDIR)$(prefix)/bin/python$(VERSION)-32 pythonw
63 lipo $(LIPO_32BIT_FLAGS) -output $(DESTDIR)$(prefix)/bin/pythonw$(VERSION)-32 pythonw
Ned Deilyc5df5632012-02-19 02:19:12 +010064 ln -sf python$(VERSION)-32 "$(DESTDIR)$(prefix)/bin/python2-32"
65 ln -sf python2-32 "$(DESTDIR)$(prefix)/bin/python-32"
66 ln -sf pythonw$(VERSION)-32 "$(DESTDIR)$(prefix)/bin/pythonw2-32"
67 ln -sf pythonw2-32 "$(DESTDIR)$(prefix)/bin/pythonw-32"
Ronald Oussoren92919a62009-12-24 13:30:58 +000068endif
Ronald Oussoren5640ce22008-06-05 12:58:24 +000069
Ronald Oussoren5640ce22008-06-05 12:58:24 +000070
Ronald Oussoren836b0392006-05-14 19:56:34 +000071#
72# Install unix tools in /usr/local/bin. These are just aliases for the
73# actual installation inside the framework.
74#
75installunixtools:
Ronald Oussoren5b787322006-06-06 19:50:24 +000076 if [ ! -d "$(DESTDIR)$(FRAMEWORKUNIXTOOLSPREFIX)/bin" ]; then \
77 $(INSTALL) -d -m $(DIRMODE) "$(DESTDIR)$(FRAMEWORKUNIXTOOLSPREFIX)/bin" ;\
Ronald Oussoren836b0392006-05-14 19:56:34 +000078 fi
Ronald Oussoren0969c672010-07-29 13:18:19 +000079 for fn in python pythonw idle pydoc python-config smtpd.py 2to3 \
Ned Deilyc5df5632012-02-19 02:19:12 +010080 python2 pythonw2 idle2 \
81 pydoc2 python2-config smtpd2.py \
82 2to3-2 \
Ronald Oussoren5b787322006-06-06 19:50:24 +000083 python$(VERSION) pythonw$(VERSION) idle$(VERSION) \
Ronald Oussoren0969c672010-07-29 13:18:19 +000084 pydoc$(VERSION) python$(VERSION)-config smtpd$(VERSION).py \
85 2to3-$(VERSION) ;\
Ronald Oussoren836b0392006-05-14 19:56:34 +000086 do \
Ronald Oussoren5b787322006-06-06 19:50:24 +000087 ln -fs "$(prefix)/bin/$${fn}" "$(DESTDIR)$(FRAMEWORKUNIXTOOLSPREFIX)/bin/$${fn}" ;\
Ronald Oussoren836b0392006-05-14 19:56:34 +000088 done
Ned Deily22f63b52011-05-28 05:56:14 -070089ifneq ($(LIPO_32BIT_FLAGS),)
90 for fn in python-32 pythonw-32 \
Ned Deilyc5df5632012-02-19 02:19:12 +010091 python2-32 pythonw2-32 \
Ned Deily22f63b52011-05-28 05:56:14 -070092 python$(VERSION)-32 pythonw$(VERSION)-32 ;\
93 do \
94 ln -fs "$(prefix)/bin/$${fn}" "$(DESTDIR)$(FRAMEWORKUNIXTOOLSPREFIX)/bin/$${fn}" ;\
95 done
96endif
Ned Deily3f1d0b32014-11-20 02:11:03 -080097 -if test "x$(ENSUREPIP)" != "xno" ; then \
98 cd "$(DESTDIR)$(FRAMEWORKUNIXTOOLSPREFIX)/bin" && \
99 for fn in \
100 easy_install \
101 pip \
102 pip2 \
103 ; \
104 do \
105 rm -f $${fn} ;\
106 $(LN) -s $(BINDIR)/$${fn} $${fn} ;\
107 done ;\
108 fi
Ronald Oussoren836b0392006-05-14 19:56:34 +0000109
Ronald Oussoren5640ce22008-06-05 12:58:24 +0000110
Ronald Oussoren5b787322006-06-06 19:50:24 +0000111#
112# Like installunixtools, but only install links to the versioned binaries.
113#
114altinstallunixtools:
115 if [ ! -d "$(DESTDIR)$(FRAMEWORKUNIXTOOLSPREFIX)/bin" ]; then \
116 $(INSTALL) -d -m $(DIRMODE) "$(DESTDIR)$(FRAMEWORKUNIXTOOLSPREFIX)/bin" ;\
117 fi
118 for fn in python$(VERSION) pythonw$(VERSION) idle$(VERSION) \
Mark Dickinson1b6c4c82008-06-25 15:29:32 +0000119 pydoc$(VERSION) python$(VERSION)-config smtpd$(VERSION).py ;\
Ronald Oussoren5b787322006-06-06 19:50:24 +0000120 do \
121 ln -fs "$(prefix)/bin/$${fn}" "$(DESTDIR)$(FRAMEWORKUNIXTOOLSPREFIX)/bin/$${fn}" ;\
122 done
Ned Deily22f63b52011-05-28 05:56:14 -0700123ifneq ($(LIPO_32BIT_FLAGS),)
124 for fn in python$(VERSION)-32 pythonw$(VERSION)-32 ;\
125 do \
126 ln -fs "$(prefix)/bin/$${fn}" "$(DESTDIR)$(FRAMEWORKUNIXTOOLSPREFIX)/bin/$${fn}" ;\
127 done
128endif
Ned Deily3f1d0b32014-11-20 02:11:03 -0800129 ln -fs "$(prefix)/bin/2to3-$(VERSION)" "$(DESTDIR)$(FRAMEWORKUNIXTOOLSPREFIX)/bin/2to3-$(VERSION)"
130 -if test "x$(ENSUREPIP)" != "xno" ; then \
131 cd "$(DESTDIR)$(FRAMEWORKUNIXTOOLSPREFIX)/bin" && \
132 for fn in \
133 easy_install-$(VERSION) \
134 pip$(VERSION) \
135 ; \
136 do \
137 rm -f $${fn} ;\
138 $(LN) -s $(BINDIR)/$${fn} $${fn} ;\
139 done ;\
140 fi
Ronald Oussoren5b787322006-06-06 19:50:24 +0000141
Ronald Oussoren836b0392006-05-14 19:56:34 +0000142# By default most tools are installed without a version in their basename, to
143# make it easier to install (and use) several python versions side-by-side move
144# the tools to a version-specific name and add the non-versioned name as an
145# alias.
146install_versionedtools:
Ronald Oussoren5640ce22008-06-05 12:58:24 +0000147 for fn in idle pydoc ;\
Ronald Oussoren836b0392006-05-14 19:56:34 +0000148 do \
Ronald Oussorenda89b992006-05-23 11:04:24 +0000149 if [ -h "$(DESTDIR)$(prefix)/bin/$${fn}" ]; then \
150 continue ;\
151 fi ;\
Ronald Oussoren836b0392006-05-14 19:56:34 +0000152 mv "$(DESTDIR)$(prefix)/bin/$${fn}" "$(DESTDIR)$(prefix)/bin/$${fn}$(VERSION)" ;\
Ned Deilyc5df5632012-02-19 02:19:12 +0100153 ln -sf "$${fn}$(VERSION)" "$(DESTDIR)$(prefix)/bin/$${fn}2" ;\
154 ln -sf "$${fn}2" "$(DESTDIR)$(prefix)/bin/$${fn}" ;\
Ronald Oussoren836b0392006-05-14 19:56:34 +0000155 done
Ronald Oussorenda89b992006-05-23 11:04:24 +0000156 if [ ! -h "$(DESTDIR)$(prefix)/bin/smtpd.py" ]; then \
157 mv "$(DESTDIR)$(prefix)/bin/smtpd.py" "$(DESTDIR)$(prefix)/bin/smtpd$(VERSION).py" ;\
Ned Deilyc5df5632012-02-19 02:19:12 +0100158 ln -sf "smtpd$(VERSION).py" "$(DESTDIR)$(prefix)/bin/smtpd2.py" ;\
159 ln -sf "smtpd2.py" "$(DESTDIR)$(prefix)/bin/smtpd.py" ;\
Ronald Oussorenda89b992006-05-23 11:04:24 +0000160 fi
Ronald Oussoren0969c672010-07-29 13:18:19 +0000161 if [ ! -h "$(DESTDIR)$(prefix)/bin/2to3" ]; then \
162 mv "$(DESTDIR)$(prefix)/bin/2to3" "$(DESTDIR)$(prefix)/bin/2to3-$(VERSION)" ;\
Ned Deilyc5df5632012-02-19 02:19:12 +0100163 ln -sf "2to3-$(VERSION)" "$(DESTDIR)$(prefix)/bin/2to3-2" ;\
164 ln -sf "2to3-2" "$(DESTDIR)$(prefix)/bin/2to3" ;\
Ronald Oussoren0969c672010-07-29 13:18:19 +0000165 fi
Ronald Oussoren836b0392006-05-14 19:56:34 +0000166
167
Ronald Oussorena6790f12006-09-17 19:23:27 +0000168pythonw: $(srcdir)/Tools/pythonw.c Makefile
Ronald Oussoren2a4ab812010-03-07 09:04:06 +0000169 $(CC) $(LDFLAGS) -DPYTHONFRAMEWORK='"$(PYTHONFRAMEWORK)"' -o $@ $(srcdir)/Tools/pythonw.c -I.. -I$(srcdir)/../Include ../$(PYTHONFRAMEWORK).framework/Versions/$(VERSION)/$(PYTHONFRAMEWORK)
Ronald Oussoren836b0392006-05-14 19:56:34 +0000170
171install_PythonLauncher:
172 cd PythonLauncher && make install DESTDIR=$(DESTDIR)
173
174install_Python:
Ronald Oussoren836b0392006-05-14 19:56:34 +0000175 @for i in "$(PYTHONAPPSDIR)" "$(APPINSTALLDIR)" "$(APPINSTALLDIR)/Contents"; do \
176 if test ! -d "$(DESTDIR)$$i"; then \
177 echo "Creating directory $(DESTDIR)$$i"; \
178 $(INSTALL) -d -m $(DIRMODE) "$(DESTDIR)$$i"; \
179 fi;\
180 done
181 @for i in $(APPSUBDIRS); do \
182 if test ! -d "$(DESTDIR)$(APPINSTALLDIR)/Contents/$$i"; then \
183 echo "Creating directory $(DESTDIR)$(APPINSTALLDIR)/Contents/$$i"; \
184 $(INSTALL) -d -m $(DIRMODE) "$(DESTDIR)$(APPINSTALLDIR)/Contents/$$i"; \
185 else true; \
186 fi; \
187 done
188 @for d in . $(APPSUBDIRS); \
189 do \
190 a=$(APPTEMPLATE)/$$d; \
191 if test ! -d $$a; then continue; else true; fi; \
192 b="$(DESTDIR)$(APPINSTALLDIR)/Contents/$$d"; \
193 for i in $$a/*; \
194 do \
195 case $$i in \
196 *CVS) ;; \
197 *.svn) ;; \
198 *.py[co]) ;; \
199 *.orig) ;; \
200 *~) ;; \
201 *idx) \
202 echo $(CPMAC) "$$i" $$b; \
203 $(CPMAC) "$$i" "$$b"; \
204 ;; \
205 *) \
206 if test -d $$i; then continue; fi; \
207 if test -x $$i; then \
208 echo $(INSTALL_SCRIPT) "$$i" "$$b"; \
209 $(INSTALL_SCRIPT) "$$i" "$$b"; \
210 else \
211 echo $(INSTALL_DATA) "$$i" "$$b"; \
212 $(INSTALL_DATA) "$$i" "$$b"; \
213 fi;; \
214 esac; \
215 done; \
216 done
Ronald Oussoren580c7fe2008-05-02 19:45:11 +0000217 $(INSTALL_PROGRAM) $(STRIPFLAG) $(BUILDPYTHON) "$(DESTDIR)$(APPINSTALLDIR)/Contents/MacOS/$(PYTHONFRAMEWORK)"
Ronald Oussoren354bb5c2009-03-30 19:56:25 +0000218 sed -e "s!%bundleid%!$(PYTHONFRAMEWORKIDENTIFIER)!g" \
219 -e "s!%version%!`$(RUNSHARED) $(BUILDPYTHON) \
220 -c 'import platform; print(platform.python_version())'`!g" \
221 < "$(DESTDIR)$(APPINSTALLDIR)/Contents/Info.plist.in" \
222 > "$(DESTDIR)$(APPINSTALLDIR)/Contents/Info.plist"
223 rm "$(DESTDIR)$(APPINSTALLDIR)/Contents/Info.plist.in"
Ronald Oussoren836b0392006-05-14 19:56:34 +0000224
Ronald Oussoren5640ce22008-06-05 12:58:24 +0000225
Ronald Oussoren836b0392006-05-14 19:56:34 +0000226install_IDLE:
227 cd IDLE && make install
228
229install_BuildApplet:
Ned Deily8e60f6e2013-05-30 00:14:29 -0700230 if ! $(RUNSHARED) @ARCH_RUN_32BIT@ $(BUILDPYTHON) \
231 -c 'import EasyDialogs' 2>/dev/null ; then \
232 echo "EasyDialogs not available in this Python - skipping Build Applet.app" ; \
233 else \
234 $(RUNSHARED) @ARCH_RUN_32BIT@ $(BUILDPYTHON) $(srcdir)/scripts/BuildApplet.py \
235 --destroot "$(DESTDIR)" \
236 --python=$(prefix)/Resources/Python.app/Contents/MacOS/Python \
237 --output "$(DESTDIR)$(PYTHONAPPSDIR)/Build Applet.app" \
238 $(srcdir)/scripts/BuildApplet.py && \
239 if [ -n "$(LIPO_32BIT_FLAGS)" ] ; then \
240 rm "$(DESTDIR)$(PYTHONAPPSDIR)/Build Applet.app/Contents/MacOS/Python" && \
241 lipo $(LIPO_32BIT_FLAGS) \
242 -output "$(DESTDIR)$(PYTHONAPPSDIR)/Build Applet.app/Contents/MacOS/Python" \
243 $(BUILDPYTHON) ; \
244 fi \
245 fi
Ronald Oussoren836b0392006-05-14 19:56:34 +0000246
247MACLIBDEST=$(LIBDEST)/plat-mac
248MACTOOLSDEST=$(prefix)/Mac/Tools
249MACTOOLSSRC=$(srcdir)/Mac/Tools
250MACTOOLSSUBDIRS=IDE
251
252installmacsubtree:
253 @for i in $(MACTOOLSDEST); \
254 do \
255 if test ! -d $(DESTDIR)$$i; then \
256 echo "Creating directory $(DESTDIR)$$i"; \
257 $(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$$i; \
258 else true; \
259 fi; \
260 done
261 @for d in $(MACTOOLSSUBDIRS); \
262 do \
263 a=$(MACTOOLSSRC)/$$d; \
264 if test ! -d $$a; then continue; else true; fi; \
265 b=$(DESTDIR)$(MACTOOLSDEST)/$$d; \
266 if test ! -d $$b; then \
267 echo "Creating directory $$b"; \
268 $(INSTALL) -d -m $(DIRMODE) $$b; \
269 else true; \
270 fi; \
271 done
272 @for d in $(MACTOOLSSUBDIRS); \
273 do \
274 a=$(MACTOOLSSRC)/$$d; \
275 if test ! -d $$a; then continue; else true; fi; \
276 b=$(DESTDIR)$(MACTOOLSDEST)/$$d; \
277 for i in $$a/*; \
278 do \
279 case $$i in \
280 *CVS) ;; \
281 *.svn) ;; \
282 *.py[co]) ;; \
283 *.orig) ;; \
284 *~) ;; \
285 *.rsrc) \
286 echo $(CPMAC) $$i $$b ; \
287 $(CPMAC) $$i $$b ; \
288 ;; \
289 *) \
290 if test -d $$i; then continue; fi; \
291 if test -x $$i; then \
292 echo $(INSTALL_SCRIPT) $$i $$b; \
293 $(INSTALL_SCRIPT) $$i $$b; \
294 else \
295 echo $(INSTALL_DATA) $$i $$b; \
296 $(INSTALL_DATA) $$i $$b; \
297 fi;; \
298 esac; \
299 done; \
300 done
301
302
Ronald Oussoren5aa0b4d2008-07-22 07:06:33 +0000303 $(RUNSHARED) @ARCH_RUN_32BIT@ $(BUILDPYTHON) $(CACHERSRC) -v $(DESTDIR)$(MACLIBDEST) $(DESTDIR)$(MACTOOLSDEST)
Ronald Oussoren32f5d8f2006-06-07 19:02:03 +0000304 $(RUNSHARED) $(BUILDPYTHON) -Wi -tt $(compileall) -d $(MACTOOLSDEST) -x badsyntax $(DESTDIR)$(MACTOOLSDEST)
305 $(RUNSHARED) $(BUILDPYTHON) -O -Wi -tt $(compileall) -d $(MACTOOLSDEST) -x badsyntax $(DESTDIR)$(MACTOOLSDEST)
Ronald Oussoren836b0392006-05-14 19:56:34 +0000306
Ronald Oussoren32f5d8f2006-06-07 19:02:03 +0000307$(INSTALLED_PYTHONAPP): install_Python
Ronald Oussoren836b0392006-05-14 19:56:34 +0000308
Ronald Oussoren32f5d8f2006-06-07 19:02:03 +0000309installextras: $(srcdir)/Extras.ReadMe.txt $(srcdir)/Extras.install.py
Ronald Oussoren836b0392006-05-14 19:56:34 +0000310 $(INSTALL) -d "$(DESTDIR)$(PYTHONAPPSDIR)/Extras"
Ronald Oussoren32f5d8f2006-06-07 19:02:03 +0000311 $(INSTALL) $(srcdir)/Extras.ReadMe.txt "$(DESTDIR)$(PYTHONAPPSDIR)/Extras/ReadMe.txt"
312 $(RUNSHARED) $(BUILDPYTHON) $(srcdir)/Extras.install.py $(srcdir)/../Demo \
Ronald Oussoren836b0392006-05-14 19:56:34 +0000313 "$(DESTDIR)$(PYTHONAPPSDIR)/Extras/Demo"
Ronald Oussoren32f5d8f2006-06-07 19:02:03 +0000314 $(RUNSHARED) $(BUILDPYTHON) $(srcdir)/Extras.install.py $(srcdir)/Demo \
315 "$(DESTDIR)$(PYTHONAPPSDIR)/Extras/Demo.Mac"
Ronald Oussoren836b0392006-05-14 19:56:34 +0000316
317
Ronald Oussoren32f5d8f2006-06-07 19:02:03 +0000318checkapplepython: $(srcdir)/Tools/fixapplepython23.py
319 @if ! $(RUNSHARED) $(BUILDPYTHON) $(srcdir)/Tools/fixapplepython23.py -n; then \
Ronald Oussoren836b0392006-05-14 19:56:34 +0000320 echo "* WARNING: Apple-installed Python 2.3 will have trouble building extensions from now on."; \
Ronald Oussoren32f5d8f2006-06-07 19:02:03 +0000321 echo "* WARNING: Run $(srcdir)/Tools/fixapplepython23.py with \"sudo\" to fix this."; \
Ronald Oussoren836b0392006-05-14 19:56:34 +0000322 fi
323
324
325clean:
326 rm pythonw
327 cd PythonLauncher && make clean
328 cd IDLE && make clean
Ronald Oussorena6790f12006-09-17 19:23:27 +0000329
330Makefile: $(srcdir)/Makefile.in ../config.status
331 cd .. && CONFIG_FILES=Mac/Makefile CONFIG_HEADERS= $(SHELL) ./config.status