git/contrib/mw-to-git/t/Makefile

#
# Copyright (C) 2012
#     Charles Roussel <[email protected]>
#     Simon Cathebras <[email protected]>
#     Julien Khayat <[email protected]>
#     Guillaume Sasdy <[email protected]>
#     Simon Perrat <[email protected]>
#
## Test git-remote-mediawiki

all: test

-include ../../../config.mak.autogen
-include ../../../config.mak

T = $(wildcard t[0-9][0-9][0-9][0-9]-*.sh)

.PHONY: help test clean all

help:
	@echo 'Run "$(MAKE) test" to launch test scripts'
	@echo 'Run "$(MAKE) clean" to remove trash folders'

test:
	@for t in $(T); do \
		echo "$$t"; \
		"./$$t" || exit 1; \
	done

clean:
	$(RM) -r 'trash directory'.*