summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--ext/coverage/depend2
-rw-r--r--ext/coverage/extconf.rb1
3 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 05f7e2e..ad4244e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Mon Apr 15 10:23:39 2013 NARUSE, Yui <naruse@ruby-lang.org>
+
+ * ext/coverage/depend: fix id.h place as r40283.
+
+ * ext/coverage/extconf.rb: add topdir and topsrcdir to VPATH.
+
Sun Apr 14 19:46:14 2013 Tanaka Akira <akr@fsij.org>
* ext/-test-/debug/depend: New file.
diff --git a/ext/coverage/depend b/ext/coverage/depend
index 84e9946..e9f041a 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 cf10ca8..769f85b 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')