summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>2007-01-04 18:33:48 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-01-05 06:28:46 (GMT)
commit7c4c9f4cd9c36694ce0de5674f263585064cceec (patch)
tree57bd3b381677d86761b42f75c5e4257516a5224b
parent3a2d3e8678a01e327c8e6c851ed6d2cfd3c21aaf (diff)
downloadgit-7c4c9f4cd9c36694ce0de5674f263585064cceec.zip
git-7c4c9f4cd9c36694ce0de5674f263585064cceec.tar.gz
git-7c4c9f4cd9c36694ce0de5674f263585064cceec.tar.bz2
Make check target depend on common-cmds.h
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>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fa1a022..180e1e0 100644
--- 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