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.
This commit is contained in:
Jim Meyering committed 2011-12-31 12:30:46 +01:00
1 parent 9be9d120f0
commit 76fd122a85
1 file changed
+1 -1
+1 -1
View 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 $@