Makefile: honor NO_CURL when setting REMOTE_CURL_* variables
authorJohannes Sixt <j6t@kdbg.org>
Tue, 19 Jan 2010 15:39:12 +0000 (16:39 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 19 Jan 2010 23:27:40 +0000 (15:27 -0800)
commit4256f36c58238a1b2317372b37be889d75a93198
tree0003ac6a7642fbf9d25ebf3c1ef22a0dcfe73836
parentd07430f98cfd6fae3f5ee91c2fa314f1cacf6f33
Makefile: honor NO_CURL when setting REMOTE_CURL_* variables

Previously, these variables were set before there was a chance to set
NO_CURL.

This made a difference only during 'make install', because by installing
$(REMOTE_CURL_ALIASES), the rule  tries to access $(REMOTE_CURL_PRIMARY),
which was never installed. On Windows, this fails; on Unix, stale symbolic
links are created.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Acked-by: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile