1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Configure only directories having extconf.rb

This commit is contained in:
Nobuyoshi Nakada 2020-06-19 14:42:26 +09:00
parent 1e7c0ccb0d
commit aa21a775a6
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -32,6 +32,7 @@ gems:
% exts.each do |t, (o, dirs)| % exts.each do |t, (o, dirs)|
% dirs.each do |d| % dirs.each do |d|
% next if Dir.glob("#{srcdir}/#{d}/**/extconf.rb").empty?
<%=t%>: <%=d%>/exts.mk <%=t%>: <%=d%>/exts.mk
<%=d%>/exts.mk: FORCE <%=d%>/exts.mk: FORCE
$(Q)$(MINIRUBY) $(srcdir)/ext/extmk.rb --make='$(MAKE)' \ $(Q)$(MINIRUBY) $(srcdir)/ext/extmk.rb --make='$(MAKE)' \