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::
|
||||
no::
|
||||
|
||||
EXTRACT_EXTLIBS = extract-extlibs
|
||||
after-update:: $(REVISION_H)
|
||||
after-update:: extract-extlibs
|
||||
after-update:: $(EXTRACT_EXTLIBS)
|
||||
after-update:: extract-gems
|
||||
|
||||
update-remote:: update-src update-download
|
||||
|
|
|
@ -463,6 +463,7 @@ def package(vcs, rev, destdir, tmp = nil)
|
|||
end
|
||||
vars.delete("UNICODE_FILES") # for stable branches
|
||||
vars["UNICODE_VERSION"] = $unicode_version if $unicode_version
|
||||
vars["EXTRACT_EXTLIBS"] = ""
|
||||
args = vars.dup
|
||||
mk.gsub!(/@([A-Za-z_]\w*)@/) {args.delete($1); vars[$1] || ENV[$1]}
|
||||
mk << commonmk.gsub(/\{\$([^(){}]*)[^{}]*\}/, "").sub(/^revision\.tmp::$/, '\& Makefile')
|
||||
|
|
Loading…
Add table
Reference in a new issue