[前][次][番号順一覧][スレッド一覧]

ruby-changes:72899

From: Nobuyoshi <ko1@a...>
Date: Thu, 11 Aug 2022 19:05:48 +0900 (JST)
Subject: [ruby-changes:72899] 26054c7461 (master): Fix paths of exts.mk to clean

https://git.ruby-lang.org/ruby.git/commit/?id=26054c7461

From 26054c74619d36b2781e872fad15a1a0bfab1be1 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Thu, 11 Aug 2022 15:21:03 +0900
Subject: Fix paths of exts.mk to clean

exts.mk files are one level under the top of extension directories.
---
 template/exts.mk.tmpl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/template/exts.mk.tmpl b/template/exts.mk.tmpl
index c5f8478d76..5595a08da1 100644
--- a/template/exts.mk.tmpl
+++ b/template/exts.mk.tmpl
@@ -154,7 +154,7 @@ ext/extinit.<%=objext%>: https://github.com/ruby/ruby/blob/trunk/template/exts.mk.tmpl#L154
 %     end
 	$(Q)<%= submake %><%=mflags%> V=$(V) $(@F)
 %     if /^(dist|real)clean$/ =~ tgt
-	$(Q)$(RM) $(@D)/exts.mk
+	$(Q)$(RM) <%=t[%r[\A(?:\.[^/]+/)?(?:[^/]+/){2}]]%>exts.mk
 	$(Q)$(RMDIRS) $(@D)
 %     end
 %   end
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]