From dd627a681e4e44c135438fe4c0764806e36bb47c Mon Sep 17 00:00:00 2001 From: Tim Chevalier Date: Mon, 12 Aug 2024 15:47:11 -0700 Subject: [PATCH] Copy LICENSE and README; remove special case for LICENSE --- icu4c/source/config/dist.mk | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/icu4c/source/config/dist.mk b/icu4c/source/config/dist.mk index 9247ec84db0c..76adc165f469 100644 --- a/icu4c/source/config/dist.mk +++ b/icu4c/source/config/dist.mk @@ -65,9 +65,7 @@ $(DISTY_FILE_TGZ) $(DISTY_FILE_ZIP) $(DISTY_DATA_ZIP): $(DISTY_DAT) $(DISTY_TMP @echo Export icu4c@$(GITVER) to "$(DISTY_TMP)/icu" -$(RMV) $(DISTY_FILE) $(DISTY_TMP) $(MKINSTALLDIRS) $(DISTY_TMP) - ( cd $(ICU4CTOP)/.. && git archive --format=tar --prefix=icu/ HEAD -- icu4c/ icu4j/ testdata/ ) | ( cd "$(DISTY_TMP)" && tar xf - ) - # special handling for LICENSE file. The symlinks will be included as files by tar and zip. - cp -fv $(ICU4CTOP)/LICENSE "$(DISTY_ICU)/LICENSE" + ( cd $(ICU4CTOP)/.. && git archive --format=tar --prefix=icu/ HEAD -- LICENSE* README* icu4c/ icu4j/ testdata/ ) | ( cd "$(DISTY_TMP)" && tar xf - ) # Copy top-level testdata directory cp -R $(ICU4CTOP)/../testdata $(DISTY_TMP)/icu ( cd $(DISTY_TMP)/icu/icu4c/source ; zip -rlq $(DISTY_DATA_ZIP) data )