Fix "make distcheck", and also make sure that the generated archive
contains everything needed to "make regtest". Bump the version.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2308 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/corecheck/Makefile.am b/corecheck/Makefile.am
index 56b2494..b1682cc 100644
--- a/corecheck/Makefile.am
+++ b/corecheck/Makefile.am
@@ -6,7 +6,7 @@
@PREFERRED_STACK_BOUNDARY@ -g
valdir = $(libdir)/valgrind
-inplacedir = $(top_srcdir)/.in_place
+inplacedir = $(top_builddir)/.in_place
val_PROGRAMS = vgskin_corecheck.so
@@ -16,4 +16,4 @@
all-local:
mkdir -p $(inplacedir)
-rm -f $(inplacedir)/$(val_PROGRAMS)
- ln -f -s $(top_srcdir)/$(subdir)/$(val_PROGRAMS) $(inplacedir)/$(val_PROGRAMS)
+ ln -f -s $(top_builddir)/$(subdir)/$(val_PROGRAMS) $(inplacedir)/$(val_PROGRAMS)