• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/bash
2
3# © 2021 and later: Unicode, Inc. and others.
4# License & terms of use: http://www.unicode.org/copyright.html
5
6# This script deletes files that generate.sh tries to regenerate.
7
8# Required environment variables:
9#   - ICU_SRC - the root directory of ICU source. This directory contains the
10#               `icu4c` directory.
11
12# We cannot just delete *_data.h because ucol_data.h is not a generated header file.
13rm $ICU_SRC/icu4c/source/common/norm2_nfc_data.h
14rm $ICU_SRC/icu4c/source/common/propname_data.h
15rm $ICU_SRC/icu4c/source/common/*_props_data.h
16rm $ICU_SRC/icu4c/source/data/in/*.icu
17rm $ICU_SRC/icu4c/source/data/in/*.nrm
18rm $ICU_SRC/icu4c/source/data/in/coll/*.icu
19# icu4c/source/i18n/collationfcd.cpp is generated by genuca;
20# probably hard to build genuca without depending on the old version.
21