From: Jim Meyering Date: Sat, 31 Dec 2011 10:56:40 +0000 (+0100) Subject: tests: fix a missing-dependency problem X-Git-Tag: v8.15~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76fd122a856fec75a9bc843610e3b035f23dabc8;p=thirdparty%2Fcoreutils.git tests: fix a missing-dependency problem * tests/check.mk (.built-programs): Depend on src/Makefile.am, so that when we add a program, this file is updated, and the new program is tested via misc/help-version. Spotted by Pádraig Brady. --- diff --git a/tests/check.mk b/tests/check.mk index 557d41a7a5..46a3f81927 100644 --- a/tests/check.mk +++ b/tests/check.mk @@ -39,7 +39,7 @@ check: vc_exe_in_TESTS CLEANFILES = CLEANFILES += .built-programs check-am: .built-programs -.built-programs: +.built-programs: $(top_srcdir)/src/Makefile.am $(AM_V_GEN)(cd $(top_builddir)/src \ && MAKEFLAGS= $(MAKE) -s built_programs.list) \ > $@-t && mv $@-t $@