| #!/bin/bash |
| |
| # © 2021 and later: Unicode, Inc. and others. |
| # License & terms of use: http://www.unicode.org/copyright.html |
| |
| # This script deletes files that generate.sh tries to regenerate. |
| |
| # Required environment variables: |
| # - ICU_SRC - the root directory of ICU source. This directory contains the |
| # `icu4c` directory. |
| |
| # We cannot just delete *_data.h because ucol_data.h is not a generated header file. |
| rm $ICU_SRC/icu4c/source/common/norm2_nfc_data.h |
| rm $ICU_SRC/icu4c/source/common/propname_data.h |
| rm $ICU_SRC/icu4c/source/common/*_props_data.h |
| rm $ICU_SRC/icu4c/source/data/in/*.icu |
| rm $ICU_SRC/icu4c/source/data/in/*.nrm |
| rm $ICU_SRC/icu4c/source/data/in/coll/*.icu |
| # icu4c/source/i18n/collationfcd.cpp is generated by genuca; |
| # probably hard to build genuca without depending on the old version. |