X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tests%2FMakefile.am;h=507b1ba449807b904cfb5f6979893a939c8f3167;hb=1866f792434e01ea165e99284878a8de9421a529;hp=cf68aace63ecb6d7dbc9b5b25db933ddfbe1072c;hpb=1833a3d10994019aa035af4e0850890e9e66d8b0;p=babeltrace.git diff --git a/tests/Makefile.am b/tests/Makefile.am index cf68aace..507b1ba4 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,8 +1,24 @@ -AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/include +SUBDIRS = utils bin lib -SUBDIRS = utils lib +EXTRA_DIST = $(srcdir)/ctf-traces/** tests -EXTRA_DIST = runall.sh ctf-traces/** +SCRIPT_LIST = run.sh + +dist_noinst_SCRIPTS = $(SCRIPT_LIST) + +all-local: + @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ + for script in $(SCRIPT_LIST); do \ + cp -f $(srcdir)/$$script $(builddir); \ + done; \ + fi + +clean-local: + @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ + for script in $(SCRIPT_LIST); do \ + rm -f $(builddir)/$$script; \ + done; \ + fi check-am: - ./runall.sh + ./run.sh $(srcdir)/tests