1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-08 11:27:32 +03:00

build-sys: unpack test sysfs only for 'make check'

This commit is contained in:
Kay Sievers 2012-02-12 22:21:08 +01:00
parent 3b2e525a56
commit c03fcc27b4

View 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