threads / patch / 6221

patchMake check target depend on common-cmds.h

Subject: [PATCH] Make check target depend on common-cmds.h

## tl;dr

One message between Jan 4, 2007 and Jan 4, 2007. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

René Scharfe· Jan 4, 2007, 18:33 UTC · lore

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>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Show changes to Makefile +1 −1
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
 
 

← back to recent threads