Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit b5abaf8

Browse files
patthoytskasal
authored andcommitted
wincred: add install target
Signed-off-by: Pat Thoyts <[email protected]> Signed-off-by: Stepan Kasal <[email protected]> Acked-by: Erik Faye-Lund <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 7bf15ca commit b5abaf8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

contrib/credential/wincred/Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,16 @@ CFLAGS = -O2 -Wall
77
-include ../../../config.mak.autogen
88
-include ../../../config.mak
99

10+
prefix ?= /usr/local
11+
libexecdir ?= $(prefix)/libexec/git-core
12+
13+
INSTALL ?= install
14+
1015
git-credential-wincred.exe : git-credential-wincred.c
1116
$(LINK.c) $^ $(LOADLIBES) $(LDLIBS) -o $@
1217

18+
install: git-credential-wincred.exe
19+
$(INSTALL) -m 755 $^ $(libexecdir)
20+
1321
clean:
1422
$(RM) git-credential-wincred.exe

0 commit comments

Comments
 (0)