bolt/bootstrap/cxx/deps/icu/source/data/unidata/clean.sh
Sam Vervaeck 285f33e93c Add 'bootstrap/cxx/' from commit '7c1a929e9a3d3abb1e2113f531588e059ad5be8c'
git-subtree-dir: bootstrap/cxx
git-subtree-mainline: b732e418cb
git-subtree-split: 7c1a929e9a
2024-01-15 14:04:51 +01:00

20 lines
822 B
Bash
Executable file

#!/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.