build: auxiliary testsuite files/scripts built by "make all"
authorStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 25 Jul 2012 14:31:17 +0000 (16:31 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 26 Jul 2012 11:35:41 +0000 (13:35 +0200)
commit2dde586a7605f973accb99d41990804fdd028bab
tree0b391f1e56c5b21ca25dcdccc06ca174b22431b5
parent42d9439da93eb64ef3bb96e012cf4ab88f7f63ac
build: auxiliary testsuite files/scripts built by "make all"

This will allow the developers to run a tests case by hand out of
a newly extracted tarball simply doing:

    $ ./configure && make
    $ ./runtest t/the-test-case.sh

while before this change one has to resort to:

    $ ./configure && make && make check TESTS=
    $ ./runtest t/the-test-case.sh

or, with some non-GNU makes, even:

    $ ./configure && make && make check TESTS= AM_MAKEFLAGS="TESTS="
    $ ./runtest t/the-test-case.sh

This come very handy sometimes, especially when doing one-shot
debugging.  Admittedly not a big deal, but one less friction in
the build system is always nice.

* Makefile.am (check_SCRIPTS, dist_check_DATA, nodist_check_DATA):
Move their content to ...
(noinst_SCRIPTS, dist_noinst_DATA, nodist_noinst_DATA): ... these
variables.
Adjust comments.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Makefile.am