diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-02-27 08:23:18 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-02-27 08:23:18 +0000 |
commit | 600e942bd457eefd668a0ce7224575e876beb1f9 (patch) | |
tree | d2e3b6883eb35428c191217b5c82e4feee881365 /template | |
parent | d7921849c0785ea5ee8466cfb774975c02b56686 (diff) | |
download | ruby-600e942bd457eefd668a0ce7224575e876beb1f9.tar.gz |
Makefile.in: by exts.mk
* Makefile.in (clean-ext): recurse by exts.mk in parallel first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'template')
-rw-r--r-- | template/exts.mk.tmpl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/template/exts.mk.tmpl b/template/exts.mk.tmpl index e4633c415a..3ddc7cb4ca 100644 --- a/template/exts.mk.tmpl +++ b/template/exts.mk.tmpl @@ -91,6 +91,9 @@ end % unless macros["MFLAGS"].empty? MFLAGS =<%= macros["MFLAGS"].fold(column) %> % end +% RbConfig::MAKEFILE_CONFIG.keys.grep(/RM/) do |k| +<%=k%> = <%=RbConfig::MAKEFILE_CONFIG[k]%> +% end extensions =<%= macros["extensions"].fold(column) %> EXTOBJS =<%= macros["EXTOBJS"].fold(column) %> @@ -125,7 +128,13 @@ ext/extinit.<%=objext%>: % targets.product(macros["extensions"].map {|e|e.chomp("/.")}) do |t, e| <%=e%>/<%=t%>: +% if /^(dist|real)clean$/ =~ t + $(ECHO) $(@F)ing $(@D) +% end $(Q)<%= submake %><%=mflags%> V=$(V) $(@F) +% if /^(dist|real)clean$/ =~ t + $(Q)$(RMDIRS) $(@D) +% end % end extso: |