summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2012-02-12 22:21:08 +0100
committerKay Sievers <kay.sievers@vrfy.org>2012-02-12 22:21:08 +0100
commitc03fcc27b42fa8b9f2504e53e5f49f802c9a634c (patch)
tree7e9f3385fc0e75742eb122596e167d3ce3510536
parent3b2e525a5621784287601573dbf8b55d76cbe407 (diff)
build-sys: unpack test sysfs only for 'make check'
-rw-r--r--Makefile.am5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index 08431f362a..97ee02f2b8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -312,13 +312,12 @@ src_test_udev_SOURCES = \
src_test_udev_CFLAGS = $(udev_common_CFLAGS)
src_test_udev_LDADD = $(udev_common_LDADD)
src_test_udev_CPPFLAGS = $(udev_common_CPPFLAGS)
+src_test_udev_DEPENDENCIES = test/sys
# packed sysfs test tree
-test/sys/kernel/uevent_seqnum:
+test/sys:
$(AM_V_GEN)mkdir -p test && tar -C test/ -xJf $(top_srcdir)/test/sys.tar.xz
-BUILT_SOURCES += test/sys/kernel/uevent_seqnum
-
test-sys-distclean:
-rm -rf test/sys
DISTCLEAN_LOCAL_HOOKS += test-sys-distclean