diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2001-09-09 00:36:52 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-09-09 00:36:52 (GMT) |
commit | c432cba3f25c80f614319f397bb000de82cef337 (patch) | |
tree | c7a84a6c394242da391bb8dba8d093621ed095ed /Mac | |
parent | eb30843ea40d56798840a8129d2eae77558761c5 (diff) | |
download | cpython-c432cba3f25c80f614319f397bb000de82cef337.zip cpython-c432cba3f25c80f614319f397bb000de82cef337.tar.gz cpython-c432cba3f25c80f614319f397bb000de82cef337.tar.bz2 |
Install the dialog resources into the application bundle. The EasyDialogs
selftest now works.
Diffstat (limited to 'Mac')
-rw-r--r-- | Mac/OSX/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Mac/OSX/Makefile b/Mac/OSX/Makefile index 768d665..0b91d3a 100644 --- a/Mac/OSX/Makefile +++ b/Mac/OSX/Makefile @@ -25,8 +25,12 @@ OBJECTS=$(PYTHONBUILDDIR)/Mac/Python/macmain.o \ pythonforbundle: $(OBJECTS) $(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 \ if test ! -d $$i; then \ @@ -67,7 +71,9 @@ install: pythonforbundle done; \ done $(INSTALL_PROGRAM) pythonforbundle $(APPINSTALLDIR)/Contents/MacOS/python - echo Need to install resources + # 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 LIBSRC=$(PYTHONBUILDDIR)/Mac/Lib |