mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
common.mk: separate note
* common.mk (build-ext): separate note from building extensions, not to be intermingled. [ruby-core:80759] [Feature #13302] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7b3ac07781
commit
23e481e390
2 changed files with 2 additions and 1 deletions
|
@ -235,6 +235,7 @@ configure-ext: $(EXTS_MK)
|
|||
build-ext: $(EXTS_MK)
|
||||
$(Q)$(MAKE) -f $(EXTS_MK) $(mflags) libdir="$(libdir)" LIBRUBY_EXTS=$(LIBRUBY_EXTS) \
|
||||
EXTENCS="$(ENCOBJS)" UPDATE_LIBRARIES=no $(EXTSTATIC)
|
||||
$(Q)$(MAKE) -f $(EXTS_MK) $(mflags) note
|
||||
|
||||
ext/extinit.c: $(srcdir)/template/extinit.c.tmpl
|
||||
$(Q)$(MINIRUBY) $(srcdir)/tool/generic_erb.rb -o $@ -c \
|
||||
|
|
|
@ -46,7 +46,7 @@ Dir.glob("{ext,gems}/*/exts.mk") do |e|
|
|||
(?:dist|real)?clean
|
||||
):.+$
|
||||
"x) do
|
||||
deps << $&
|
||||
deps << $&.sub(/ +note$/, '')
|
||||
end
|
||||
s.scan(%r"^note:\n((?:\t.+\n)+)") do |(n)|
|
||||
n = n.split(/^/)
|
||||
|
|
Loading…
Reference in a new issue