Skip to content

Commit

Permalink
Copy LICENSE and README; remove special case for LICENSE
Browse files Browse the repository at this point in the history
  • Loading branch information
catamorphism committed Aug 12, 2024
1 parent bf1bb4b commit dd627a6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions icu4c/source/config/dist.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down

0 comments on commit dd627a6

Please sign in to comment.