Re: [PATCH v5 02/16] Add git-remote-testsvn to Makefile.
From: Junio C Hamano <hidden>
Date: 2016-06-15 22:54:32
Florian Achleitner [off-list ref] writes:
Subject: Re: [PATCH v5 02/16] Add git-remote-testsvn to Makefile.
Adds '.' at the end of the title.
quoted hunk
The link-rule is a copy of the standard git$X rule but adds VCSSVN_LIB. Signed-off-by: Florian Achleitner <redacted> --- Makefile | 5 +++++ 1 file changed, 5 insertions(+)diff --git a/Makefile b/Makefile index 6b0c961..fb5cdcf 100644 --- a/Makefile +++ b/Makefile@@ -477,6 +477,7 @@ PROGRAM_OBJS += sh-i18n--envsubst.o PROGRAM_OBJS += shell.o PROGRAM_OBJS += show-index.o PROGRAM_OBJS += upload-pack.o +PROGRAM_OBJS += remote-testsvn.o # Binary suffix, set to .exe for Windows builds X =@@ -2352,6 +2353,10 @@ git-http-push$X: revision.o http.o http-push.o GIT-LDFLAGS $(GITLIBS) $(QUIET_LINK)$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) \ $(LIBS) $(CURL_LIBCURL) $(EXPAT_LIBEXPAT) +git-remote-testsvn$X: remote-testsvn.o GIT-LDFLAGS $(GITLIBS)
Adds trailing whitespace.
+ $(QUIET_LINK)$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) $(LIBS) \ + $(VCSSVN_LIB) + $(REMOTE_CURL_ALIASES): $(REMOTE_CURL_PRIMARY) $(QUIET_LNCP)$(RM) $@ && \ ln $< $@ 2>/dev/null || \
But I think moving this to the top-level made things a lot simpler. Excellent.