Merge branch 'jt/refspec-dwim-precedence-fix'
[git] / contrib / diff-highlight / t / Makefile
1 -include ../../../config.mak.autogen
2 -include ../../../config.mak
3
4 # copied from ../../t/Makefile
5 SHELL_PATH ?= $(SHELL)
6 SHELL_PATH_SQ = $(subst ','\'',$(SHELL_PATH))
7 T = $(wildcard t[0-9][0-9][0-9][0-9]-*.sh)
8
9 all: test
10 test: $(T)
11
12 .PHONY: help clean all test $(T)
13
14 help:
15         @echo 'Run "$(MAKE) test" to launch test scripts'
16         @echo 'Run "$(MAKE) clean" to remove trash folders'
17
18 $(T):
19         @echo "*** $@ ***"; '$(SHELL_PATH_SQ)' $@ $(GIT_TEST_OPTS)
20
21 clean:
22         $(RM) -r 'trash directory'.*