summaryrefslogtreecommitdiff
path: root/ext/coverage
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-15 01:24:37 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-15 01:24:37 +0000
commite4f6efcc4a830b94634e2461ffbc564040344058 (patch)
tree9cf568abbc942f7938581591cf2190cb38ff616a /ext/coverage
parent37a350dbb6c82954c79e5b9700cb51eb83d3d2c2 (diff)
downloadruby-e4f6efcc4a830b94634e2461ffbc564040344058.tar.gz
* ext/coverage/depend: fix id.h place as r40283.
* ext/coverage/extconf.rb: add topdir and topsrcdir to VPATH. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/coverage')
-rw-r--r--ext/coverage/depend2
-rw-r--r--ext/coverage/extconf.rb1
2 files changed, 2 insertions, 1 deletions
diff --git a/ext/coverage/depend b/ext/coverage/depend
index 84e9946ca6..e9f041afeb 100644
--- a/ext/coverage/depend
+++ b/ext/coverage/depend
@@ -3,7 +3,7 @@ $(OBJS): $(HDRS) $(ruby_headers) \
$(top_srcdir)/node.h \
$(top_srcdir)/vm_debug.h \
$(top_srcdir)/vm_opts.h \
- $(top_srcdir)/id.h \
+ {$(VPATH)}id.h \
$(top_srcdir)/method.h \
$(top_srcdir)/ruby_atomic.h \
$(top_srcdir)/thread_pthread.h
diff --git a/ext/coverage/extconf.rb b/ext/coverage/extconf.rb
index cf10ca89c5..769f85b6ef 100644
--- a/ext/coverage/extconf.rb
+++ b/ext/coverage/extconf.rb
@@ -1,3 +1,4 @@
require 'mkmf'
+$VPATH << '$(topdir)' << '$(top_srcdir)'
$INCFLAGS << " -I$(topdir) -I$(top_srcdir)"
create_makefile('coverage')