Subject: Re: Build bug report: 'make check' needs sparse, but configure doesn't check it

From: Ed Avis <[email-masked]>
Date: Mon, 6 Oct 2008 11:28:25 +0000 (UTC)

Shawn O. Pearce <spearce <at> spearce.org> writes:

>Nah.  We're not going to rename the target to "make sparse".

Fair enough.  Can I suggest a one line patch to avoid any misunderstanding in 
the future?

diff --git a/Makefile b/Makefile
index 3c0664a..c98b921 100644
--- a/Makefile
+++ b/Makefile
@@ -1354,6 +1354,7 @@ check-sha1:: test-sha1$X
        ./test-sha1.sh

 check: common-cmds.h
+       @echo "'make check' runs the 'sparse' tool on all source files; say 
'make test' to run the test suite."
        for i in *.c; do sparse $(ALL_CFLAGS) $(SPARSE_FLAGS) $$i || exit; done

 remove-dashes: