-
-
Notifications
You must be signed in to change notification settings - Fork 742
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ICU-22855: Create combined source distribution when running make dist
on C++ side
#3097
base: main
Are you sure you want to change the base?
Conversation
@markusicu Is this something like what you had in mind? Also cc @srl295 |
icu4c/source/config/dist.mk
Outdated
@@ -65,25 +65,25 @@ $(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/ ) | ( cd "$(DISTY_TMP)" && tar xf - ) | |||
( cd $(ICU4CTOP)/.. && git archive --format=tar --prefix=icu/ HEAD -- icu4c/ icu4j/ testdata/ ) | ( cd "$(DISTY_TMP)" && tar xf - ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably top level README* LICENSE*
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added LICENSE and README
icu4c/source/config/dist.mk
Outdated
# special handling for LICENSE file. The symlinks will be included as files by tar and zip. | ||
cp -fv $(ICU4CTOP)/LICENSE "$(DISTY_TMP)/LICENSE" | ||
# Copy top-level testdata directory so it's a sibling of the source/ directory | ||
cp -fv $(ICU4CTOP)/LICENSE "$(DISTY_ICU)/LICENSE" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
may need revisit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed this line due to the other change
This PR changes
make dist
on the C++ side to create a single combined sources distribution, including icu4c/, icu4j/, and testdata/. It also undoes the change inintltest.cpp
that looks for thetestdata
directory in multiple locations.Note: I haven't changed anything on the Java side because I'm not sure what the layout of the .jar file should look like.
Checklist