From ccfb5bdad957387cc6b36c9115aaa9615a55a893 Mon Sep 17 00:00:00 2001 From: Pat Thoyts Date: Wed, 24 Oct 2012 00:15:29 +0100 Subject: wincred: add install target Signed-off-by: Pat Thoyts Signed-off-by: Stepan Kasal Acked-by: Erik Faye-Lund Signed-off-by: Junio C Hamano --- contrib/credential/wincred/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'contrib/credential/wincred') diff --git a/contrib/credential/wincred/Makefile b/contrib/credential/wincred/Makefile index bad45ca47..39fa5e0c5 100644 --- a/contrib/credential/wincred/Makefile +++ b/contrib/credential/wincred/Makefile @@ -7,8 +7,16 @@ CFLAGS = -O2 -Wall -include ../../../config.mak.autogen -include ../../../config.mak +prefix ?= /usr/local +libexecdir ?= $(prefix)/libexec/git-core + +INSTALL ?= install + git-credential-wincred.exe : git-credential-wincred.c $(LINK.c) $^ $(LOADLIBES) $(LDLIBS) -o $@ +install: git-credential-wincred.exe + $(INSTALL) -m 755 $^ $(libexecdir) + clean: $(RM) git-credential-wincred.exe -- cgit v1.2.1