Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
fdc8d758
Commit
fdc8d758
authored
Jan 15, 2002
by
Jack Jansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include errors.rsrc in the Python.app resource file, so the error strings
are available in MacOS API exceptions.
parent
ad134f04
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
Mac/OSX/Makefile
Mac/OSX/Makefile
+6
-2
No files found.
Mac/OSX/Makefile
View file @
fdc8d758
...
...
@@ -28,7 +28,7 @@ pythonforbundle: $(OBJECTS)
PYTHON
=
$(PYTHONBUILDDIR)
/python.exe
APPTEMPLATE
=
$(PYTHONBUILDDIR)
/Mac/OSXResources/app
APPSUBDIRS
=
MacOS Resources Resources/English.lproj
RESOURCE
FILE_ASINGLE
=
$(PYTHONBUILDDIR)
/Mac/Resources/dialogs.rsrc
RESOURCE
DIR
=
$(PYTHONBUILDDIR)
/Mac/Resources
RESOURCEFILE
=
python.rsrc
RFCONVERTER
=
$(PYTHONBUILDDIR)
/Mac/Lib/applesingle.py
install
:
pythonforbundle
...
...
@@ -71,7 +71,11 @@ install: pythonforbundle
done
$(INSTALL_PROGRAM)
pythonforbundle
$(APPINSTALLDIR)
/Contents/MacOS/python
# Create a temporary version of the resources here
$(PYTHON)
$(RFCONVERTER)
-r
$(RESOURCEFILE_ASINGLE)
$(RESOURCEFILE)
$(PYTHON)
$(RFCONVERTER)
-r
$(RESOURCEDIR)
/dialogs.rsrc dialogs.rsrc
$(PYTHON)
$(RFCONVERTER)
-r
$(RESOURCEDIR)
/errors.rsrc errors.rsrc
DeRez
-useDF
-skip
ckid dialogs.rsrc
>
dialogs.r
DeRez
-useDF
-skip
ckid errors.rsrc
>
errors.r
Rez
-useDF
-o
$(RESOURCEFILE)
dialogs.r errors.r
$(INSTALL_DATA)
$(RESOURCEFILE)
$(APPINSTALLDIR)
/Contents/Resources/
$(RESOURCEFILE)
LIBDEST
=
$(INSTALLDIR)
/Mac/Lib
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment