Merge branch 'mt/threaded-grep-in-object-store'
[git] / contrib / credential / netrc / Makefile
1 # The default target of this Makefile is...
2 all::
3
4 SCRIPT_PERL = git-credential-netrc.perl
5 GIT_ROOT_DIR = ../../..
6 HERE = contrib/credential/netrc
7
8 SCRIPT_PERL_FULL = $(patsubst %,$(HERE)/%,$(SCRIPT_PERL))
9
10 all:: build
11
12 build:
13         $(MAKE) -C $(GIT_ROOT_DIR) SCRIPT_PERL="$(SCRIPT_PERL_FULL)" \
14                 build-perl-script
15
16 install: build
17         $(MAKE) -C $(GIT_ROOT_DIR) SCRIPT_PERL="$(SCRIPT_PERL_FULL)" \
18                 install-perl-script
19
20 clean:
21         $(MAKE) -C $(GIT_ROOT_DIR) SCRIPT_PERL="$(SCRIPT_PERL_FULL)" \
22                 clean-perl-script
23
24 test: build
25         ./t-git-credential-netrc.sh
26
27 testverbose: build
28         ./t-git-credential-netrc.sh -d -v
29
30 .PHONY: all build install clean test testverbose