contrib / diff-highlight / t / Makefileon commit Merge branch 'tz/t4038-bash-redirect-target-workaround' (3221177)
   1-include ../../../config.mak.autogen
   2-include ../../../config.mak
   3
   4# copied from ../../t/Makefile
   5SHELL_PATH ?= $(SHELL)
   6SHELL_PATH_SQ = $(subst ','\'',$(SHELL_PATH))
   7T = $(wildcard t[0-9][0-9][0-9][0-9]-*.sh)
   8
   9all: test
  10test: $(T)
  11
  12.PHONY: help clean all test $(T)
  13
  14help:
  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
  21clean:
  22        $(RM) -r 'trash directory'.*