summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2012-11-15 20:18:22 -0500
committerAnthony G. Basile <blueness@gentoo.org>2012-11-15 20:18:22 -0500
commitc47f33a498f9c824a48c23987b312b3176602f7f (patch)
tree56d87b528c9149fbdcb6d286feb4a897a65b41cd /test
parentb7b2cc298c71189c881150723708b49ca4c6112c (diff)
Second step of revamping the build system
The original Makefile.am was drawn to the top level. This commit breaks it out into the various directories with SUBDIRS connecting them. This makes each directory easier to maintain.
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.am24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
new file mode 100644
index 0000000000..78440d23f4
--- /dev/null
+++ b/test/Makefile.am
@@ -0,0 +1,24 @@
+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 test/ -xJf $(top_srcdir)/test/sys.tar.xz
+
+test-sys-distclean:
+ -rm -rf test/sys
+
+DISTCLEAN_LOCAL_HOOKS = \
+ test-sys-distclean
+
+EXTRA_DIST = \
+ sys.tar.xz \
+ udev-test.pl \
+ rules-test.sh \
+ rule-syntax-check.py