]>
Commit | Line | Data |
---|---|---|
f3c0d7a5 | 1 | Copyright (C) 2016 and later: Unicode, Inc. and others. License & terms of use: http://www.unicode.org/copyright.html |
4388f060 | 2 | Copyright (c) 2002-2011, International Business Machines Corporation and others. All Rights Reserved. |
b75a7d8f A |
3 | The genren.pl script is used to generate source/common/unicode/urename.h header file, which is needed for renaming the ICU exported names. |
4 | ||
5 | 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. | |
6 | ||
4388f060 A |
7 | It also does not currently work well in an out-of-source situation. |
8 | ||
b75a7d8f A |
9 | The following instructions are for Linux version. |
10 | - urename.h file should be generated after implementation is complete for a release. | |
729e4ab9 | 11 | - the version number for a release should be set according to the list in source/common/unicode/uvernum.h |
b75a7d8f | 12 | |
0f5d89e8 A |
13 | Before generating urename.h, the layout engine header files must be installed from the harfbuzz project. |
14 | This is prerequisite for the icu layoutex (Paragraph Layout) project, which is subject to renaming. | |
15 | (Using the svn command is the simplest way of getting just the files from one subdirectory of the git project.) | |
16 | ||
17 | cd icu4c/source | |
18 | svn export https://github.com/behdad/icu-le-hb/trunk/src layout | |
19 | ||
20 | - Regenerate urename.h | |
21 | ||
22 | cd icu4c/source/tools/genren | |
23 | make install-header | |
b75a7d8f A |
24 | |
25 | - urename.h will be updated in icu/source/common/unicode/urename.h **in your original source directory** | |
0f5d89e8 | 26 | - Warnings concerning bad namespace (not 'icu') on UCaseMap can be ignored. |
4388f060 | 27 | - Eyeball the new file for errors |
b75a7d8f | 28 | |
0f5d89e8 A |
29 | cd icu4c/source |
30 | svn diff common/unicode/urename.h | |
31 | ||
b75a7d8f A |
32 | - Other make targets here |
33 | ||
34 | clean - cleans out intermediate files | |
35 | urename.h -just builds ./urename.h |