[Python-checkins] python/dist/src/Mac/OSX Makefile,1.26,1.27
jackjansen@users.sourceforge.net
jackjansen@users.sourceforge.net
Thu, 12 Sep 2002 15:19:26 -0700
Update of /cvsroot/python/python/dist/src/Mac/OSX
In directory usw-pr-cvs1:/tmp/cvs-serv24951
Modified Files:
Makefile
Log Message:
Patch by Tony Lownds: build an IDLE applet too, if _tkinter is available.
I modified the patch to make it a non-fatal error if IDLE isn't built.
Index: Makefile
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/OSX/Makefile,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** Makefile 2 Sep 2002 12:29:11 -0000 1.26
--- Makefile 12 Sep 2002 22:19:23 -0000 1.27
***************
*** 50,54 ****
CACHERSRC=$(srcdir)/Mac/scripts/cachersrc.py
! installapps: install_PythonLauncher install_Python install_BuildApplet install_IDE
install_PythonLauncher:
--- 50,54 ----
CACHERSRC=$(srcdir)/Mac/scripts/cachersrc.py
! installapps: install_PythonLauncher install_Python install_BuildApplet install_IDE install_IDLE
install_PythonLauncher:
***************
*** 131,134 ****
--- 131,154 ----
--output $(PYTHONAPPSDIR)/PythonIDE.app --noargv \
$(srcdir)/Mac/Tools/IDE/PythonIDE.py
+
+ install_IDLE: $(INSTALLED_PYTHONW)
+ @if ! $(INSTALLED_PYTHONW) -c "import _tkinter"; then \
+ echo IDLE needs the \"Tkinter\" extension module; \
+ echo See Mac/OSX/README for details; \
+ else \
+ echo $(INSTALLED_PYTHONW) $(srcdir)/Mac/scripts/BuildApplet.py \
+ --output $(PYTHONAPPSDIR)/IDLE.app \
+ --extra $(srcdir)/Tools/idle \
+ $(srcdir)/Tools/idle/idle ; \
+ $(INSTALLED_PYTHONW) $(srcdir)/Mac/scripts/BuildApplet.py \
+ --output $(PYTHONAPPSDIR)/IDLE.app \
+ --extra $(srcdir)/Tools/idle \
+ $(srcdir)/Tools/idle/idle ; \
+ echo mv $(PYTHONAPPSDIR)/IDLE.app/Contents/Resources/idle \
+ $(PYTHONAPPSDIR)/IDLE.app/Contents/Resources/idlelib; \
+ mv $(PYTHONAPPSDIR)/IDLE.app/Contents/Resources/idle \
+ $(PYTHONAPPSDIR)/IDLE.app/Contents/Resources/idlelib; \
+ fi
+
install_BuildApplet: $(INSTALLED_PYTHONW)