Fixes for ancient versions of GNU make
[git/git.git] / t / Makefile
CommitLineData
e1970ce4
JH
1# Run tests
2#
3# Copyright (c) 2005 Junio C Hamano
4#
d6928ebd
PB
5
6#GIT_TEST_OPTS=--verbose --debug
edde7a8b 7SHELL_PATH ?= $(SHELL)
455a7f32 8TAR ?= $(TAR)
e1970ce4 9
4769948a 10# Shell quote;
39c015c5 11SHELL_PATH_SQ = $(subst ','\'',$(SHELL_PATH))
4769948a 12
e1970ce4
JH
13T = $(wildcard t[0-9][0-9][0-9][0-9]-*.sh)
14
abb7c7b3
JS
15ifdef NO_PYTHON
16 GIT_TEST_OPTS += --no-python
17endif
18
23fc63bf
AR
19all: $(T) clean
20
21$(T):
39c015c5 22 @echo "*** $@ ***"; '$(SHELL_PATH_SQ)' $@ $(GIT_TEST_OPTS)
e1970ce4 23
902d960b 24clean:
e1970ce4 25 rm -fr trash
23fc63bf
AR
26
27.PHONY: $(T) clean
28.NOPARALLEL:
29