scuffed-code/icu4c/source/tools/genren
Vladimir Weinstein 89628f1df9 ICU-2107 added copyright notices
X-SVN-Rev: 10722
2002-12-18 08:31:34 +00:00
..
genren.pl ICU-1784 make genren simpler 2002-03-19 01:17:46 +00:00
Makefile ICU-2457 update to 2.4 version number 2002-11-01 01:45:24 +00:00
README ICU-2107 added copyright notices 2002-12-18 08:31:34 +00:00

Copyright (c) 2002, International Business Machines Corporation and others. All Rights Reserved.
The genren.pl script is used to generate source/common/unicode/urename.h header file, which is needed for renaming the ICU exported names. 

This script is intended to be used on Linux, although it should work on any platform that has Perl and nm command. Makefile may need to be updated, it's not 100% portable. 

The following instructions are for Linux version.
- urename.h file should be generated after implementation is complete for a release.
- the version number for a release should be set according to the list in source/common/unicode/uversion.h
- In this [genren] directory, run 

    "make install-header"

- urename.h will be updated in icu/source/common/unicode/urename.h  **in your original source directory**
- Eyeball the new file for errors - you can compare it to icu/source/common/unicode/urename.h.old
- Another good way to check the file is a side by side diff.  After the above 'make install-header':

  diff --side-by-side urename.sort urename.old.sort  | more

- Other make targets here

    clean      - cleans out intermediate files
    urename.h  -just builds ./urename.h