-5. Copy the data files to the correct location in the ICU4C/ICU4J
- source trees:
-
- $ cp zoneinfo.txt ../../../data/misc/
- $ cp ZoneMetaData.java {path_to}/icu4j/src/com/ibm/icu/impl
-
-6. Rebuild ICU:
-
- $ cd ../../../
- $ {*make}
-
-7. Don't forget to check in the new zoneinfo.txt (from its location at
- {path_to}/icu/source/data/misc/zoneinfo.txt) into CVS.
-
-----------------------------------------------------------------------
-HOWTO regenerate patch-icu-tzcode
-
-If you need to edit any of the tzcode* files, you will need to
-regenerate the patch file as follows.
-
-1. Follow the above instructions to extract and patch the tzcode*
- files in {path_to}/icu/source/tools/tzcode. Modify any of the
- tzcode files.
-
-2. Extract a clean set of the tzcode* files into a new directory,
- ../tzcode.orig/:
-
- $ mkdir ../tzcode.orig
- $ cd ../tzcode.orig
- $ tar xzf ../tzcode/tzcode*.tar.gz
- $ cd ../tzcode
-
-3. Compute diffs, ignoring files that are in only one directory:
-
- $ diff -ur ../tzcode.orig . | grep -vE -e "^Only in " > patch-icu-tzcode
-
-4. Test the patch-icu-tzcode file by regenerating and diffing the
- files again in another directory. The expected output from the
- final diff command is *nothing*.
-
- $ mkdir ../tzcode.new
- $ cd ../tzcode.new
- $ tar xzf ../tzcode/tzcode*.tar.gz
- $ patch < ../tzcode/patch-icu-tzcode
- $ cd ../tzcode
- $ diff -ur ../tzcode.new . | grep -vE -e "^Only in "
-
-5. Check in the new patch-icu-tzcode file.
-
-----------------------------------------------------------------------
-eof