]> err.no Git - systemd/commitdiff
build-sys: unpack test sysfs only for 'make check'
authorKay Sievers <kay.sievers@vrfy.org>
Sun, 12 Feb 2012 21:21:08 +0000 (22:21 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Sun, 12 Feb 2012 21:21:08 +0000 (22:21 +0100)
Makefile.am

index 08431f362ab610971fa4551ef2d036cac0e196dc..97ee02f2b89b841c6e8a5741c614e274569fd1fa 100644 (file)
@@ -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