Added LoggerAdapter class, changed copyright dates, made check for extra parameter...
[python.git] / Tools / unicode / Makefile
blob35744ad0d5e5de6ed6177a0e26148de520ed1332
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.
8 # Python binary to use
9 PYTHON = python
11 # Remove tool to use
12 RM = /bin/rm
14 ### Generic targets
16 all: distclean mappings codecs
18 codecs: misc windows iso apple ebcdic custom-mappings cjk
20 ### Mappings
22 mappings:
23 ncftpget -R ftp.unicode.org . Public/MAPPINGS
25 ### Codecs
27 build/:
28 mkdir build
30 misc: build/
31 $(PYTHON) gencodec.py MAPPINGS/VENDORS/MISC/ build/
32 $(RM) build/atarist.*
33 $(RM) build/us_ascii_quotes.*
34 $(RM) build/ibmgraph.*
35 $(RM) build/sgml.*
36 $(RM) -f build/readme.*
38 custom-mappings: build/
39 $(PYTHON) gencodec.py python-mappings/ build/
41 windows: build/
42 $(PYTHON) gencodec.py MAPPINGS/VENDORS/MICSFT/WINDOWS/ build/
43 $(RM) build/cp9*
44 $(RM) -f build/readme.*
46 iso: build/
47 $(PYTHON) gencodec.py MAPPINGS/ISO8859/ build/ iso
48 $(RM) -f build/isoreadme.*
50 apple: build/
51 $(PYTHON) gencodec.py MAPPINGS/VENDORS/APPLE/ build/ mac_
52 $(RM) build/mac_dingbats.*
53 $(RM) build/mac_japanese.*
54 $(RM) build/mac_chin*
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.*
71 ebcdic: build/
72 $(PYTHON) gencodec.py MAPPINGS/VENDORS/MICSFT/EBCDIC/ build/
73 $(RM) -f build/readme.*
75 cjk: build/
76 $(PYTHON) gencjkcodecs.py build/
78 ### Cleanup
80 clean:
81 $(RM) -f build/*
83 distclean: clean
84 $(RM) -rf MAPPINGS/