Code

Make check target depend on common-cmds.h
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>
Thu, 4 Jan 2007 18:33:48 +0000 (19:33 +0100)
committerJunio C Hamano <junkio@cox.net>
Fri, 5 Jan 2007 06:28:46 +0000 (22:28 -0800)
This fixes sparse complaining about a missing include file
if 'make check' is run on clean sources.

Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile

index fa1a02289c06630274eebbed25b022c4cfeea28b..180e1e0b94e121594a5ae2f994d12af6d1a2ea11 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -818,7 +818,7 @@ test-sha1$X: test-sha1.o $(GITLIBS)
 check-sha1:: test-sha1$X
        ./test-sha1.sh
 
-check:
+check: common-cmds.h
        for i in *.c; do sparse $(ALL_CFLAGS) $(SPARSE_FLAGS) $$i || exit; done