]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests: fix a missing-dependency problem
authorJim Meyering <meyering@redhat.com>
Sat, 31 Dec 2011 10:56:40 +0000 (11:56 +0100)
committerJim Meyering <meyering@redhat.com>
Sat, 31 Dec 2011 11:30:46 +0000 (12:30 +0100)
* 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.

tests/check.mk

index 557d41a7a5beadbcee8fac9ec7ecd71184debdcc..46a3f81927cb7007a5cba8e59dbb7a4448f78b57 100644 (file)
@@ -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 $@