build: don't abuse Automake internals (with its 'check-am' rule)
authorStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 29 Aug 2012 10:35:43 +0000 (12:35 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 30 Aug 2012 13:21:59 +0000 (15:21 +0200)
* tests/check.mk (check-am): Remove; obtain the same effect by moving
its dependency '.built-programs' ...
(check_DATA): ... to this variable.

tests/check.mk

index be3641f..0e08f6d 100644 (file)
@@ -38,7 +38,7 @@ check: vc_exe_in_TESTS
 
 CLEANFILES =
 CLEANFILES += .built-programs
-check-am: .built-programs
+check_DATA = .built-programs
 .built-programs: $(top_srcdir)/src/Makefile.am
        $(AM_V_GEN)(cd $(top_builddir)/src                              \
             && MAKEFLAGS= $(MAKE) -s built_programs.list)              \