From 2588e3dff5d2ac36fd38c19049749d8150524d1c Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Thu, 28 Jun 2012 11:16:36 -0400 Subject: [PATCH] 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. --- Makefile.am | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile.am b/Makefile.am index a3a36982..a04a01f8 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) -- 2.47.2