summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-11-22 07:22:23 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-11-22 07:22:23 +0000
commit2a9739f1a444ca3fdcc90d21a1504a0203d39d73 (patch)
treefd1ac8b82d1655ef92ebb044e53fba780506166a /Makefile.in
parent134e2d619a3c4d52021a7ceda17c173e63e6e588 (diff)
Fri, 19 Nov 2010 19:33:27 +0900 URABE, Shyouhei <shyouhei@ruby-lang.org>
OK, this is 1.8.7 specific (rare!) * Makefile.in (fake.rb): hook needed to fake mkmf.rb. #2531 [ruby-core:27327] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@29866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 656ae903f1..4faabc3469 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -137,6 +137,11 @@ fake.rb: Makefile
ALT_SEPARATOR = "\\\\"; \
end; \
end; \
+ prehook = proc do |e|; \
+ Config::MAKEFILE_CONFIG["top_srcdir"] = $$top_srcdir = "@top_srcdir@" unless e; \
+ untrace_var(:$$extmk, prehook); \
+ end; \
+ trace_var(:$$extmk, prehook); \
' > $@
Makefile: $(srcdir)/Makefile.in