# [PATCH 2/2] http-fetch: Fix Makefile dependancies

2 messages from 2009-08-06 to 2009-08-06. Participants: Mike Ralphson.
Thread: https://gitlist.dev/t/20435

## Mike Ralphson, 2009-08-06 13:14

Subject: [PATCH 1/2] Add transport native helper executables to .gitignore
Message-ID: <f4271a23eed2a6bc3774fb8e21563e74f9b1fb19.1249563483.git.mike@abacus.co.uk>
URL: https://gitlist.dev/e/f4271a23eed2a6bc3774fb8e21563e74f9b1fb19.1249563483.git.mike%40abacus.co.uk

```
Signed-off-by: Mike Ralphson <mike@abacus.co.uk>
---
 .gitignore |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/.gitignore b/.gitignore
index 10808e3..c446290 100644
--- a/.gitignore
+++ b/.gitignore
@@ -104,6 +104,9 @@ git-receive-pack
 git-reflog
 git-relink
 git-remote
+git-remote-ftp
+git-remote-http
+git-remote-https
 git-repack
 git-replace
 git-repo-config
-- 
1.6.4.115.g33d49.dirty

```

## Mike Ralphson, 2009-08-06 13:14

Subject: [PATCH 2/2] http-fetch: Fix Makefile dependancies
Message-ID: <3b0689fabea4a0c7b2327bb2a31e2b5fba2ddc99.1249563483.git.mike@abacus.co.uk>
URL: https://gitlist.dev/e/3b0689fabea4a0c7b2327bb2a31e2b5fba2ddc99.1249563483.git.mike%40abacus.co.uk
In-Reply-To: <f4271a23eed2a6bc3774fb8e21563e74f9b1fb19.1249563483.git.mike@abacus.co.uk>

```
Specify git-http-fetch's dependancies explicitly rather than inheriting from
git-http-push, as that may not be built if the libcurl version is too old or
NO_EXPAT is defined

Signed-off-by: Mike Ralphson <mike@abacus.co.uk>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 97d904b..366b729 100644
--- a/Makefile
+++ b/Makefile
@@ -1502,7 +1502,7 @@ http.o http-walker.o http-push.o: http.h
 
 http.o http-walker.o: $(LIB_H)
 
-git-http-fetch$X: revision.o http.o http-push.o $(GITLIBS)
+git-http-fetch$X: revision.o http.o http-walker.o http-fetch.o $(GITLIBS)
 	$(QUIET_LINK)$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) \
 		$(LIBS) $(CURL_LIBCURL) $(EXPAT_LIBEXPAT)
 git-http-push$X: revision.o http.o http-push.o $(GITLIBS)
-- 
1.6.4.115.g33d49.dirty

```
