Raw
1 # The default target of this Makefile is...
2 all::
3
4 -include ../../../config.mak.autogen
5 -include ../../../config.mak
6
7 # copied from ../../t/Makefile
8 SHELL_PATH ?= $(SHELL)
9 SHELL_PATH_SQ = $(subst ','\'',$(SHELL_PATH))
10 T = $(wildcard t[0-9][0-9][0-9][0-9]-*.sh)
11
12 all:: test
13 test: $(T)
14
15 .PHONY: help clean all test $(T)
16
17 help:
18 @echo 'Run "$(MAKE) test" to launch test scripts'
19 @echo 'Run "$(MAKE) clean" to remove trash folders'
20
21 $(T):
22 @echo "*** $@ ***"; '$(SHELL_PATH_SQ)' $@ $(GIT_TEST_OPTS)
23
24 clean:
25 $(RM) -r 'trash directory'.*