git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
René Scharfe <rene.scharfe@lsrfire.ath.cx>
Date
Jan 4, 2007, 18:33 UTC
Message-ID
<459D488C.7020907@lsrfire.ath.cx>

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(-)
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
 
 
Message 1 of 1 in “Make check target depend on common-cmds.h”
  1. Make check target depend on common-cmds.hRené Scharfe, Jan 4, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.