summaryrefslogtreecommitdiff
path: root/test/Makefile.am
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2012-11-19 19:09:37 -0500
committerAnthony G. Basile <blueness@gentoo.org>2012-11-19 19:09:48 -0500
commit802d021d2e403862f4692ee67956e7e0160c1879 (patch)
tree8bcc73a40238e848fc36539e848e3e254316f6b5 /test/Makefile.am
parenta21f6c078b3f8ffe6c54247952030502166e8c12 (diff)
test/Makefile.am: fix tests for make distcheck
At several points in the forked code, top_srcdir and top_builddir are mixed up. It is not clear if this is an upstream bug or if this is a result of the initial restructuring of the build system. This commit addresses this issue for tests triggered during make distcheck. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'test/Makefile.am')
-rw-r--r--test/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index 78440d23f4..ab3b68e4a6 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -9,10 +9,10 @@ check_DATA = \
test/sys:
$(AM_V_at)$(MKDIR_P) $(dir $@)
- $(AM_V_GEN)tar -C test/ -xJf $(top_srcdir)/test/sys.tar.xz
+ $(AM_V_GEN)tar -C $(top_builddir)/test/ -xJf $(top_srcdir)/test/sys.tar.xz
test-sys-distclean:
- -rm -rf test/sys
+ -rm -rf $(top_builddir)/test/sys
DISTCLEAN_LOCAL_HOOKS = \
test-sys-distclean