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
68b49ef8
Commit
68b49ef8
authored
Oct 25, 2005
by
Marc-André Lemburg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Makefile which allows easily rebuilding the charmap codecs.
parent
89bbfd4a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
81 additions
and
0 deletions
+81
-0
Tools/unicode/Makefile
Tools/unicode/Makefile
+81
-0
No files found.
Tools/unicode/Makefile
0 → 100644
View file @
68b49ef8
#
# Recreate the Python charmap codecs from the Unicode mapping
# files available at ftp://ftp.unicode.org/
#
#(c) Copyright Marc-Andre Lemburg, 2005.
# Licensed to PSF under a Contributor Agreement.
# Python binary to use
PYTHON
=
python
# Remove tool to use
RM
=
/bin/rm
### Generic targets
all
:
distclean mappings codecs
codecs
:
misc windows iso apple ebcdic custom-mappings
### Mappings
mappings
:
ncftpget
-R
ftp.unicode.org
.
Public/MAPPINGS
### Codecs
build/
:
mkdir
build
misc
:
build/
$(PYTHON)
gencodec.py MAPPINGS/VENDORS/MISC/ build/
$(RM)
build/atarist.
*
$(RM)
build/us_ascii_quotes.
*
$(RM)
build/ibmgraph.
*
$(RM)
build/sgml.
*
$(RM)
-f
build/readme.
*
custom-mappings
:
build/
$(PYTHON)
gencodec.py python-mappings/ build/
windows
:
build/
$(PYTHON)
gencodec.py MAPPINGS/VENDORS/MICSFT/WINDOWS/ build/
$(RM)
build/cp9
*
$(RM)
-f
build/readme.
*
iso
:
build/
$(PYTHON)
gencodec.py MAPPINGS/ISO8859/ build/iso
$(RM)
-f
build/isoreadme.
*
apple
:
build/
$(PYTHON)
gencodec.py MAPPINGS/VENDORS/APPLE/ build/mac_
$(RM)
build/mac_dingbats.
*
$(RM)
build/mac_japanese.
*
$(RM)
build/mac_chin
*
$(RM)
build/mac_korean.
*
$(RM)
build/mac_symbol.
*
$(RM)
build/mac_corpchar.
*
$(RM)
build/mac_devanaga.
*
$(RM)
build/mac_gaelic.
*
$(RM)
build/mac_gurmukhi.
*
$(RM)
build/mac_hebrew.
*
$(RM)
build/mac_inuit.
*
$(RM)
build/mac_thai.
*
$(RM)
build/mac_ukraine.
*
$(RM)
build/mac_arabic.py
$(RM)
build/mac_celtic.
*
$(RM)
build/mac_gujarati.
*
$(RM)
build/mac_keyboard.
*
$(RM)
-f
build/mac_readme.
*
ebcdic
:
build/
$(PYTHON)
gencodec.py MAPPINGS/VENDORS/MICSFT/EBCDIC/ build/
$(RM)
-f
build/readme.
*
### Cleanup
clean
:
$(RM)
build/
*
distclean
:
clean
$(RM)
-rf
MAPPINGS/
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