From: René Scharfe Date: Thu, 4 Jan 2007 18:33:48 +0000 (+0100) Subject: Make check target depend on common-cmds.h X-Git-Tag: v1.5.0-rc1~94 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7c4c9f4cd9c36694ce0de5674f263585064cceec;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/Makefile b/Makefile index fa1a02289..180e1e0b9 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