[Python-checkins] CVS: python/dist/src/Mac/OSX Makefile,1.2,1.3
Jack Jansen
jackjansen@users.sourceforge.net
Sat, 08 Sep 2001 17:36:54 -0700
Update of /cvsroot/python/python/dist/src/Mac/OSX
In directory usw-pr-cvs1:/tmp/cvs-serv11340
Modified Files:
Makefile
Log Message:
Install the dialog resources into the application bundle. The EasyDialogs
selftest now works.
Index: Makefile
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/OSX/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Makefile 2001/09/06 16:33:57 1.2
--- Makefile 2001/09/09 00:36:52 1.3
***************
*** 26,31 ****
--- 26,35 ----
$(LD) $(LDFLAGS) $(OBJECTS) -o pythonforbundle
+ PYTHON=$(PYTHONBUILDDIR)/python.exe
APPTEMPLATE=$(PYTHONBUILDDIR)/Mac/OSXResources/app
APPSUBDIRS=MacOS Resources Resources/English.lproj
+ RESOURCEFILE_ASINGLE=$(PYTHONBUILDDIR)/Mac/Resources/dialogs.rsrc
+ RESOURCEFILE=python.rsrc
+ RFCONVERTER=$(PYTHONBUILDDIR)/Mac/Lib/applesingle.py
install: pythonforbundle
@for i in $(APPINSTALLDIR) $(APPINSTALLDIR)/Contents; do \
***************
*** 68,72 ****
done
$(INSTALL_PROGRAM) pythonforbundle $(APPINSTALLDIR)/Contents/MacOS/python
! echo Need to install resources
LIBDEST=$(INSTALLDIR)/Mac/Lib
--- 72,78 ----
done
$(INSTALL_PROGRAM) pythonforbundle $(APPINSTALLDIR)/Contents/MacOS/python
! # Create a temporary version of the resources here
! $(PYTHON) $(RFCONVERTER) -r $(RESOURCEFILE_ASINGLE) $(RESOURCEFILE)
! $(INSTALL_DATA) $(RESOURCEFILE) $(APPINSTALLDIR)/Contents/Resources/$(RESOURCEFILE)
LIBDEST=$(INSTALLDIR)/Mac/Lib