Skip to content

Commit 48ea9f9

Browse files
flyingflogitster
authored andcommitted
Add git-remote-testsvn to Makefile
The link-rule is a copy of the standard git$X rule but adds VCSSVN_LIB. Add executable to .gitignore. Signed-off-by: Florian Achleitner <[email protected]> Acked-by: David Michael Barr <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 68f64ff commit 48ea9f9

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@
125125
/git-remote-fd
126126
/git-remote-ext
127127
/git-remote-testgit
128+
/git-remote-testsvn
128129
/git-repack
129130
/git-replace
130131
/git-repo-config

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,7 @@ PROGRAM_OBJS += sh-i18n--envsubst.o
477477
PROGRAM_OBJS += shell.o
478478
PROGRAM_OBJS += show-index.o
479479
PROGRAM_OBJS += upload-pack.o
480+
PROGRAM_OBJS += remote-testsvn.o
480481

481482
# Binary suffix, set to .exe for Windows builds
482483
X =
@@ -2352,6 +2353,10 @@ git-http-push$X: revision.o http.o http-push.o GIT-LDFLAGS $(GITLIBS)
23522353
$(QUIET_LINK)$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) \
23532354
$(LIBS) $(CURL_LIBCURL) $(EXPAT_LIBEXPAT)
23542355

2356+
git-remote-testsvn$X: remote-testsvn.o GIT-LDFLAGS $(GITLIBS) $(VCSSVN_LIB)
2357+
$(QUIET_LINK)$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) $(LIBS) \
2358+
$(VCSSVN_LIB)
2359+
23552360
$(REMOTE_CURL_ALIASES): $(REMOTE_CURL_PRIMARY)
23562361
$(QUIET_LNCP)$(RM) $@ && \
23572362
ln $< $@ 2>/dev/null || \

0 commit comments

Comments
 (0)