Skip to content

Commit

Permalink
Makefile: Cover more files with make check
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stephen Boyd authored and Junio C Hamano committed Mar 21, 2011
1 parent 08c8d55 commit 52d269d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2176,7 +2176,7 @@ check-sha1:: test-sha1$X
check: common-cmds.h
if sparse; \
then \
for i in *.c; \
for i in $(patsubst %.o, %.c, $(GIT_OBJS)); \
do \
sparse $(ALL_CFLAGS) $(SPARSE_FLAGS) $$i || exit; \
done; \
Expand Down

0 comments on commit 52d269d

Please sign in to comment.