eudev/test/Makefile.am
Anthony G. Basile 802d021d2e 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>
2012-11-19 19:09:48 -05:00

25 lines
415 B
Makefile

ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
TESTS = \
udev-test.pl \
rules-test.sh
check_DATA = \
test/sys
test/sys:
$(AM_V_at)$(MKDIR_P) $(dir $@)
$(AM_V_GEN)tar -C $(top_builddir)/test/ -xJf $(top_srcdir)/test/sys.tar.xz
test-sys-distclean:
-rm -rf $(top_builddir)/test/sys
DISTCLEAN_LOCAL_HOOKS = \
test-sys-distclean
EXTRA_DIST = \
sys.tar.xz \
udev-test.pl \
rules-test.sh \
rule-syntax-check.py