2 # Recreate the Python charmap codecs from the Unicode mapping
3 # files available at ftp://ftp.unicode.org/
5 #(c) Copyright Marc-Andre Lemburg, 2005.
6 # Licensed to PSF under a Contributor Agreement.
16 all: distclean mappings codecs
18 codecs
: misc windows iso apple ebcdic custom-mappings cjk
23 ncftpget
-R ftp.unicode.org . Public
/MAPPINGS
31 $(PYTHON
) gencodec.py MAPPINGS
/VENDORS
/MISC
/ build
/
33 $(RM
) build
/us_ascii_quotes.
*
34 $(RM
) build
/ibmgraph.
*
36 $(RM
) -f build
/readme.
*
38 custom-mappings
: build
/
39 $(PYTHON
) gencodec.py python-mappings
/ build
/
42 $(PYTHON
) gencodec.py MAPPINGS
/VENDORS
/MICSFT
/WINDOWS
/ build
/
44 $(RM
) -f build
/readme.
*
47 $(PYTHON
) gencodec.py MAPPINGS
/ISO8859
/ build
/ iso
48 $(RM
) -f build
/isoreadme.
*
51 $(PYTHON
) gencodec.py MAPPINGS
/VENDORS
/APPLE
/ build
/ mac_
52 $(RM
) build
/mac_dingbats.
*
53 $(RM
) build
/mac_japanese.
*
55 $(RM
) build
/mac_korean.
*
56 $(RM
) build
/mac_symbol.
*
57 $(RM
) build
/mac_corpchar.
*
58 $(RM
) build
/mac_devanaga.
*
59 $(RM
) build
/mac_gaelic.
*
60 $(RM
) build
/mac_gurmukhi.
*
61 $(RM
) build
/mac_hebrew.
*
62 $(RM
) build
/mac_inuit.
*
63 $(RM
) build
/mac_thai.
*
64 $(RM
) build
/mac_ukraine.
*
65 $(RM
) build
/mac_arabic.py
66 $(RM
) build
/mac_celtic.
*
67 $(RM
) build
/mac_gujarati.
*
68 $(RM
) build
/mac_keyboard.
*
69 $(RM
) -f build
/mac_readme.
*
72 $(PYTHON
) gencodec.py MAPPINGS
/VENDORS
/MICSFT
/EBCDIC
/ build
/
73 $(RM
) -f build
/readme.
*
76 $(PYTHON
) gencjkcodecs.py build
/