mirror of
https://github.com/git/git.git
synced 2024-09-28 15:01:31 +02:00
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>
This commit is contained in:
parent
3a2d3e8678
commit
7c4c9f4cd9
2
Makefile
2
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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user