contrib / mw-to-git / t / Makefileon commit Merge branch 'sb/send-email-reconfirm-fix' into maint (c13a5ac)
   1#
   2# Copyright (C) 2012
   3#     Charles Roussel <charles.roussel@ensimag.imag.fr>
   4#     Simon Cathebras <simon.cathebras@ensimag.imag.fr>
   5#     Julien Khayat <julien.khayat@ensimag.imag.fr>
   6#     Guillaume Sasdy <guillaume.sasdy@ensimag.imag.fr>
   7#     Simon Perrat <simon.perrat@ensimag.imag.fr>
   8#
   9## Test git-remote-mediawiki
  10
  11all: test
  12
  13-include ../../../config.mak.autogen
  14-include ../../../config.mak
  15
  16T = $(wildcard t[0-9][0-9][0-9][0-9]-*.sh)
  17
  18.PHONY: help test clean all
  19
  20help:
  21        @echo 'Run "$(MAKE) test" to launch test scripts'
  22        @echo 'Run "$(MAKE) clean" to remove trash folders'
  23
  24test:
  25        @for t in $(T); do \
  26                echo "$$t"; \
  27                "./$$t" || exit 1; \
  28        done
  29
  30clean:
  31        $(RM) -r 'trash directory'.*