]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Add a script to make running in-place simpler.
authorNicholas Nethercote <njn@valgrind.org>
Mon, 19 Feb 2007 04:09:24 +0000 (04:09 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Mon, 19 Feb 2007 04:09:24 +0000 (04:09 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6603

README_DEVELOPERS
vg-in-place [new file with mode: 0755]

index 9c63e4b2844f846a5addeef99019e6e9e7de2242..06ed8b0ac85d187a2a0473d3cb06a66ff123d12e 100644 (file)
@@ -10,6 +10,8 @@ of the source tree (and must be an absolute path).  Eg:
 This allows you to compile and run with "make" instead of "make install",
 saving you time.
 
+Or, you can use the 'vg-in-place' script which does that for you.
+
 I recommend compiling with "make --quiet" to further reduce the amount of
 output spewed out during compilation, letting you actually see any errors,
 warnings, etc.
diff --git a/vg-in-place b/vg-in-place
new file mode 100755 (executable)
index 0000000..b378119
--- /dev/null
@@ -0,0 +1,7 @@
+# This ensures it works when invoked from any directory.
+d=`dirname $0`
+
+VALGRIND_LIB=$d/.in_place \
+    VALGRIND_LIB_INNER=$d/.in_place \
+    $d/coregrind/valgrind "$@"
+