diff options
Diffstat (limited to 'template/exts.mk.tmpl')
-rw-r--r-- | template/exts.mk.tmpl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/template/exts.mk.tmpl b/template/exts.mk.tmpl index 4d7dc0f2a5..1b2308c4f0 100644 --- a/template/exts.mk.tmpl +++ b/template/exts.mk.tmpl @@ -50,8 +50,10 @@ Dir.glob("{ext,gems}/*/exts.mk") do |e| end s.scan(%r"^note:\n((?:\t.+\n)+)") do |(n)| n = n.split(/^/) + e = (note.pop if /@exit/ =~ note[-1]) note.pop if n[-1] == note[-1] note |= n + note << e if e end end deps.uniq! @@ -116,7 +118,9 @@ clean: distclean: -$(Q)$(RM) ext/extinit.c -<%= deps.join("\n") %> +% deps.each do |d| +<%= d %> +% end % rubies.each do |ruby| <%= ruby %>: |