diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-06-28 11:16:36 -0400 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-06-29 12:58:06 -0400 |
commit | 2588e3dff5d2ac36fd38c19049749d8150524d1c (patch) | |
tree | a71bb784d80b20b14be7fb178c214118597b67a6 | |
parent | fca5b9bcd4c57abb74eed3f766d5c58a7b827e71 (diff) | |
download | kmod-2588e3dff5d2ac36fd38c19049749d8150524d1c.tar.gz |
Implicitly run 'make rootfs' with 'make check'
Avoid the need for the user to run this manually after a run of the
testsuite by adding it.
-rw-r--r-- | Makefile.am | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index a3a3698..a04a01f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -132,6 +132,7 @@ CREATE_ROOTFS = $(AM_V_GEN) ( $(RM) -rf $(ROOTFS) && \ rootfs: $(CREATE_ROOTFS) +.PHONY: rootfs $(ROOTFS): $(ROOTFS_PRISTINE) $(CREATE_ROOTFS) @@ -142,6 +143,8 @@ TESTSUITE_OVERRIDE_LIBS = testsuite/uname.la testsuite/path.la \ TESTSUITE_OVERRIDE_LIBS_LDFLAGS = avoid-version -module -shared -export-dynamic \ -rpath /nowhere -ldl +check-local: rootfs + check_LTLIBRARIES = $(TESTSUITE_OVERRIDE_LIBS) testsuite_uname_la_LDFLAGS = $(TESTSUITE_OVERRIDE_LIBS_LDFLAGS) |