Skip to content

Commit ccfb5bd

Browse files
patthoytsgitster
authored andcommitted
wincred: add install target
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net> Signed-off-by: Stepan Kasal <kasal@ucw.cz> Acked-by: Erik Faye-Lund <kusmabite@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent eea5913 commit ccfb5bd

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)