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

[PATCH] add NO_CURL option to the Makefile

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jul 31, 2005, 00:14 UTC
Message-ID
<Pine.LNX.4.58.0507310213110.13590@wgmdd8.biozentrum.uni-wuerzburg.de>

This patch implements Linus' idea that if you are not interested in pulling by HTTP, you can now say

	NO_CURL=1 make

to compile everything except git-http-pull (thus not needing curl at all). ---

 Makefile |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
b2e1e7eb6876b5f385bc52bf78e9551d1457215b
diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -69,7 +69,7 @@ PROG=   git-update-cache git-diff-files
 	git-checkout-cache git-diff-tree git-rev-tree git-ls-files \
 	git-check-files git-ls-tree git-merge-base git-merge-cache \
 	git-unpack-file git-export git-diff-cache git-convert-cache \
-	git-http-pull git-ssh-push git-ssh-pull git-rev-list git-mktag \
+	git-ssh-push git-ssh-pull git-rev-list git-mktag \
 	git-diff-helper git-tar-tree git-local-pull git-hash-object \
 	git-get-tar-commit-id git-apply git-stripspace \
 	git-diff-stages git-rev-parse git-patch-id git-pack-objects \
@@ -78,6 +78,10 @@ PROG=   git-update-cache git-diff-files
 	git-show-index git-daemon git-var git-peek-remote \
 	git-update-server-info git-show-rev-cache git-build-rev-cache

+ifndef NO_CURL
+PROG+= git-http-pull
+endif
+
 LIB_FILE=libgit.a
 LIB_H=cache.h object.h blob.h tree.h commit.h tag.h delta.h epoch.h csum-file.h \
 	pack.h pkt-line.h refs.h
Next: Junio C Hamano
Message 1 of 3 in “add NO_CURL option to the Makefile”
  1. add NO_CURL option to the MakefileJohannes Schindelin, Jul 31, 2005
  2. Junio C HamanoJul 31, 2005
  3. Linus TorvaldsJul 31, 2005

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.