Skip to content

Commit

Permalink
common.mk: separate note
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
nobu committed Apr 20, 2017
1 parent 7b3ac07 commit 23e481e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion template/exts.mk.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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(/^/)
Expand Down

0 comments on commit 23e481e

Please sign in to comment.