Define rootfs as dependency of check-am
authorDave Reisner <dreisner@archlinux.org>
Sat, 8 Sep 2012 18:08:50 +0000 (14:08 -0400)
committerDave Reisner <dreisner@archlinux.org>
Sat, 8 Sep 2012 18:40:37 +0000 (14:40 -0400)
This should actually fix the problem of ensuring that the rootfs is
created every time that 'make check' is run.

Makefile.am

index e69163e..31d5cbb 100644 (file)
@@ -147,7 +147,7 @@ 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-am: rootfs
 
 check_LTLIBRARIES = $(TESTSUITE_OVERRIDE_LIBS)