|
981 | 981 | else |
982 | 982 | CURL_LIBCURL = -lcurl |
983 | 983 | endif |
984 | | - CURL_SYNONYMS = git-remote-https$X git-remote-ftp$X |
985 | | - PROGRAMS += git-remote-http$X $(CURL_SYNONYMS) git-http-fetch$X |
| 984 | + PROGRAMS += git-remote-curl$X git-http-fetch$X |
986 | 985 | curl_check := $(shell (echo 070908; curl-config --vernum) | sort -r | sed -ne 2p) |
987 | 986 | ifeq "$(curl_check)" "070908" |
988 | 987 | ifndef NO_EXPAT |
@@ -1497,16 +1496,10 @@ git-http-push$X: revision.o http.o http-push.o $(GITLIBS) |
1497 | 1496 | $(QUIET_LINK)$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) \ |
1498 | 1497 | $(LIBS) $(CURL_LIBCURL) $(EXPAT_LIBEXPAT) |
1499 | 1498 |
|
1500 | | -git-remote-http$X: remote-curl.o http.o http-walker.o $(GITLIBS) |
| 1499 | +git-remote-curl$X: remote-curl.o http.o http-walker.o $(GITLIBS) |
1501 | 1500 | $(QUIET_LINK)$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) \ |
1502 | 1501 | $(LIBS) $(CURL_LIBCURL) $(EXPAT_LIBEXPAT) |
1503 | 1502 |
|
1504 | | -$(CURL_SYNONYMS): git-remote-http$X |
1505 | | - $(QUIET_LNCP)$(RM) $@ && \ |
1506 | | - ln $< $@ 2>/dev/null || \ |
1507 | | - ln -s $< $@ 2>/dev/null || \ |
1508 | | - cp $< $@ |
1509 | | - |
1510 | 1503 | $(LIB_OBJS) $(BUILTIN_OBJS): $(LIB_H) |
1511 | 1504 | $(patsubst git-%$X,%.o,$(PROGRAMS)) git.o: $(LIB_H) $(wildcard */*.h) |
1512 | 1505 | builtin-revert.o wt-status.o: wt-status.h |
@@ -1688,12 +1681,6 @@ endif |
1688 | 1681 | ln -s "git$X" "$$execdir/$$p" 2>/dev/null || \ |
1689 | 1682 | cp "$$execdir/git$X" "$$execdir/$$p" || exit; \ |
1690 | 1683 | done; } && \ |
1691 | | - { for p in $(CURL_SYNONYMS); do \ |
1692 | | - $(RM) "$$execdir/$$p" && \ |
1693 | | - ln "$$execdir/git-remote-http$X" "$$execdir/$$p" 2>/dev/null || \ |
1694 | | - ln -s "git-remote-http$X" "$$execdir/$$p" 2>/dev/null || \ |
1695 | | - cp "$$execdir/git-remote-http$X" "$$execdir/$$p" || exit; \ |
1696 | | - done; } && \ |
1697 | 1684 | ./check_bindir "z$$bindir" "z$$execdir" "$$bindir/git-add$X" |
1698 | 1685 |
|
1699 | 1686 | install-doc: |
|
0 commit comments