mirror of
https://github.com/git/git.git
synced 2024-11-18 02:14:03 +01:00
Makefile: Cover more files with make check
After the builtin/ move 'make check' doesn't cover the builtin/ directory. We could just add builtin/*.c but lets just use GIT_OBJS instead so we cover future movement of the source files. Signed-off-by: Stephen Boyd <bebarino@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
08c8d55813
commit
52d269da7e
2
Makefile
2
Makefile
@ -2176,7 +2176,7 @@ check-sha1:: test-sha1$X
|
|||||||
check: common-cmds.h
|
check: common-cmds.h
|
||||||
if sparse; \
|
if sparse; \
|
||||||
then \
|
then \
|
||||||
for i in *.c; \
|
for i in $(patsubst %.o, %.c, $(GIT_OBJS)); \
|
||||||
do \
|
do \
|
||||||
sparse $(ALL_CFLAGS) $(SPARSE_FLAGS) $$i || exit; \
|
sparse $(ALL_CFLAGS) $(SPARSE_FLAGS) $$i || exit; \
|
||||||
done; \
|
done; \
|
||||||
|
Loading…
Reference in New Issue
Block a user