File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ pythonforbundle: $(OBJECTS)
2828PYTHON =$(PYTHONBUILDDIR ) /python.exe
2929APPTEMPLATE =$(PYTHONBUILDDIR ) /Mac/OSXResources/app
3030APPSUBDIRS =MacOS Resources Resources/English.lproj
31- RESOURCEFILE_ASINGLE =$(PYTHONBUILDDIR ) /Mac/Resources/dialogs.rsrc
31+ RESOURCEDIR =$(PYTHONBUILDDIR ) /Mac/Resources
3232RESOURCEFILE =python.rsrc
3333RFCONVERTER =$(PYTHONBUILDDIR ) /Mac/Lib/applesingle.py
3434install : pythonforbundle
@@ -71,7 +71,11 @@ install: pythonforbundle
7171 done
7272 $(INSTALL_PROGRAM ) pythonforbundle $(APPINSTALLDIR ) /Contents/MacOS/python
7373 # Create a temporary version of the resources here
74- $(PYTHON ) $(RFCONVERTER ) -r $(RESOURCEFILE_ASINGLE ) $(RESOURCEFILE )
74+ $(PYTHON ) $(RFCONVERTER ) -r $(RESOURCEDIR ) /dialogs.rsrc dialogs.rsrc
75+ $(PYTHON ) $(RFCONVERTER ) -r $(RESOURCEDIR ) /errors.rsrc errors.rsrc
76+ DeRez -useDF -skip ckid dialogs.rsrc > dialogs.r
77+ DeRez -useDF -skip ckid errors.rsrc > errors.r
78+ Rez -useDF -o $(RESOURCEFILE ) dialogs.r errors.r
7579 $(INSTALL_DATA ) $(RESOURCEFILE ) $(APPINSTALLDIR ) /Contents/Resources/$(RESOURCEFILE )
7680
7781LIBDEST =$(INSTALLDIR ) /Mac/Lib
You can’t perform that action at this time.
0 commit comments