diff options
author | Pat Thoyts <patthoyts@users.sourceforge.net> | 2012-10-24 00:15:29 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-05-14 10:30:03 -0700 |
commit | ccfb5bdad957387cc6b36c9115aaa9615a55a893 (patch) | |
tree | fb472d851b0f26da0bf2c7798b7f789e664a373d /contrib | |
parent | eea591373e139fc8aab89a78ccb0b1512a2bf0de (diff) | |
download | git-ccfb5bdad957387cc6b36c9115aaa9615a55a893.tar.gz |
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>
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/credential/wincred/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/credential/wincred/Makefile b/contrib/credential/wincred/Makefile index bad45ca47a..39fa5e0c59 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 |