]> granicus.if.org Git - re2c/commit
Support 'make distcheck'.
authorUlya Trofimovich <skvadrik@gmail.com>
Tue, 2 Jun 2015 12:19:50 +0000 (13:19 +0100)
committerUlya Trofimovich <skvadrik@gmail.com>
Tue, 2 Jun 2015 12:19:50 +0000 (13:19 +0100)
commitb2bc24704ebd2a0e6050f755dbd93a5cd987a418
tree7889784023a768ef9ef8baf7d2080f7e8369e729
parent9fcd8640506a5ad020f36b63858898efbda1f429
Support 'make distcheck'.

The only problem with 'make distcheck' was that we needed write
access to top source directory ('make' wanted to overwrite bootstrap
parser if it was built with bison and 'make check' wanted to create
temporary files in 'test/' directory).

This commit fixes it:
    - 'make' doesn't try to overwrite bootstrap if it is identical
      to the existing one (must always be true for 'make distcheck')
    - testing script makes a temporary directory and keeps all
      temporary files there. If some tests failed, temporary files
      for them are left and test sources and reference results are
      copied into temporary directory to make debug more convenient.

This commit makes use of 'make distcheck' in release script.
re2c/Makefile.am
re2c/release.sh
re2c/run_tests.sh.in