summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-12-31 11:56:40 +0100
committerJim Meyering <meyering@redhat.com>2011-12-31 12:30:46 +0100
commit76fd122a856fec75a9bc843610e3b035f23dabc8 (patch)
tree85298a4866623077ec6eceab4d954e14bd53603c
parent9be9d120f01fa65be33ab98d0c728a7e849c5d4b (diff)
downloadcoreutils-76fd122a856fec75a9bc843610e3b035f23dabc8.tar.xz
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.
-rw-r--r--tests/check.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/check.mk b/tests/check.mk
index 557d41a7a..46a3f8192 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 $@