| Line | |
|---|
| 1 | all: |
|---|
| 2 | @echo "make utf8 -- convert orignal resource file from Bad Java format to Human format." |
|---|
| 3 | @echo "make ascii -- convert translated resource file to Bad Java format." |
|---|
| 4 | @echo "make diff -- generate new zh_CN locale MQ patch." |
|---|
| 5 | |
|---|
| 6 | utf8: |
|---|
| 7 | native2ascii -reverse -encoding utf8 Resources_zh_CN.properties Resources_zh_CN.properties.utf8 |
|---|
| 8 | |
|---|
| 9 | ascii: |
|---|
| 10 | native2ascii Resources_zh_CN.properties.translated.utf8 Resources_zh_CN.properties.translated |
|---|
| 11 | |
|---|
| 12 | diff: ascii |
|---|
| 13 | cd ../../.. ; \ |
|---|
| 14 | hg qgoto 20010_l10n_zh_CN.patch; \ |
|---|
| 15 | cp .hg/patches/locale/Resources_zh_CN.properties.translated Resources_zh_CN.properties ; \ |
|---|
| 16 | hg qref |
|---|
| 17 | |
|---|
| 18 | clean: |
|---|
| 19 | -rm Resources_zh_CN.properties.utf8 |
|---|
| 20 | -rm Resources_zh_CN.properties.translated |
|---|
| 21 | |
|---|
| 22 | .PHONY: utf8 ascii diff clean all |
|---|
| 23 | |
|---|
| 24 | # vim: noet |
|---|