build-sys: check depends on programs

For some unknown reason, make check doesn't depend on either
the check programs or the actual programs under test. This means
if you try to run make check right off the bat from a clean git
repositorty, it will fail as it won't be able to run the unbuilt
binaries.
This commit is contained in:
Craig Small 2022-03-21 21:37:17 +11:00
parent 79949b18ef
commit b800d3f1a7

View File

@ -393,7 +393,7 @@ TESTS = \
lib/test_strtod_nol
# Automake should do this, but it doesn't
check: $(check_PROGRAMS)
check: $(check_PROGRAMS) $(PROGRAMS)
$(top_srcdir)/.version:
touch $(top_srcdir)/.version