mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Do not include external library sources into packages
This commit is contained in:
parent
f6a080047e
commit
a042043487
2 changed files with 3 additions and 1 deletions
|
@ -1282,8 +1282,9 @@ up::
|
||||||
yes::
|
yes::
|
||||||
no::
|
no::
|
||||||
|
|
||||||
|
EXTRACT_EXTLIBS = extract-extlibs
|
||||||
after-update:: $(REVISION_H)
|
after-update:: $(REVISION_H)
|
||||||
after-update:: extract-extlibs
|
after-update:: $(EXTRACT_EXTLIBS)
|
||||||
after-update:: extract-gems
|
after-update:: extract-gems
|
||||||
|
|
||||||
update-remote:: update-src update-download
|
update-remote:: update-src update-download
|
||||||
|
|
|
@ -463,6 +463,7 @@ def package(vcs, rev, destdir, tmp = nil)
|
||||||
end
|
end
|
||||||
vars.delete("UNICODE_FILES") # for stable branches
|
vars.delete("UNICODE_FILES") # for stable branches
|
||||||
vars["UNICODE_VERSION"] = $unicode_version if $unicode_version
|
vars["UNICODE_VERSION"] = $unicode_version if $unicode_version
|
||||||
|
vars["EXTRACT_EXTLIBS"] = ""
|
||||||
args = vars.dup
|
args = vars.dup
|
||||||
mk.gsub!(/@([A-Za-z_]\w*)@/) {args.delete($1); vars[$1] || ENV[$1]}
|
mk.gsub!(/@([A-Za-z_]\w*)@/) {args.delete($1); vars[$1] || ENV[$1]}
|
||||||
mk << commonmk.gsub(/\{\$([^(){}]*)[^{}]*\}/, "").sub(/^revision\.tmp::$/, '\& Makefile')
|
mk << commonmk.gsub(/\{\$([^(){}]*)[^{}]*\}/, "").sub(/^revision\.tmp::$/, '\& Makefile')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue