Exclude the generated source file for icastats_test. This fixes the distcheck and related build targets by enforcing the re-generation of the source file.
More detailed explanation: the generated source-file for the icastats_test executable contains the absolute path to the icastats binary. This should avoid, that the test executable use another icastats version for the test (e.g. the one from a package install). For the distribution make targets (dist, dictcheck, et. al.) it is important, that the generated source file test/icastats_test.c is excluded from the distribution tarball, so that the source generation is triggered correctly for the rebuild, e.g. for make distcheck.
Without this commit, a clean ./bootstrap.sh ; ./configure ; make distcheck will fail, caused by the wrong lookup of the icastats-binary in icastats_test.
Exclude the generated source file for icastats_test. This fixes the distcheck and related build targets by enforcing the re-generation of the source file.
Signed-off-by: Holger Dengler dengler@linux.ibm.com
More detailed explanation: the generated source-file for the icastats_test executable contains the absolute path to the icastats binary. This should avoid, that the test executable use another icastats version for the test (e.g. the one from a package install). For the distribution make targets (dist, dictcheck, et. al.) it is important, that the generated source file test/icastats_test.c is excluded from the distribution tarball, so that the source generation is triggered correctly for the rebuild, e.g. for
make distcheck
.Without this commit, a clean
./bootstrap.sh ; ./configure ; make distcheck
will fail, caused by the wrong lookup of the icastats-binary in icastats_test.