The previous patch fixed the out of tree build when the configure script
was called with a path relative to the builddir but still failed when
the path was absolute. This works with both.
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
EXTRA_DIST = test_trace_read.in
$(noinst_SCRIPTS): %: %.in
- sed "s#@TOPSRCDIR@#$(top_srcdir)#g" < $< > $@
+ sed "s#@ABSTOPSRCDIR@#$(abs_top_srcdir)#g" < $< > $@
chmod +x $@
BABELTRACE_BIN=$CURDIR/../../converter/babeltrace
-CTF_TRACES=$CURDIR/@TOPSRCDIR@/tests/ctf-traces
+CTF_TRACES=@ABSTOPSRCDIR@/tests/ctf-traces
source $TESTDIR/utils/tap/tap.sh