47 |
# FIXME: Autom4te is not complete yet, and lacks a means to find |
# FIXME: Autom4te is not complete yet, and lacks a means to find |
48 |
# the lib files. |
# the lib files. |
49 |
AUTOM4TE = autom4te |
AUTOM4TE = autom4te |
50 |
$(srcdir)/$(TESTSUITE): $(TESTSUITE_AT) |
$(srcdir)/$(TESTSUITE): package.m4 $(TESTSUITE_AT) |
51 |
$(AUTOM4TE) --language=autotest -I $(srcdir) testsuite.at -o $@.tmp |
$(AUTOM4TE) --language=autotest -I $(srcdir) testsuite.at -o $@.tmp |
52 |
mv $@.tmp $@ |
mv $@.tmp $@ |
53 |
|
|
54 |
# Run the test suite on the *installed* tree. |
# Run the test suite on the *installed* tree. |
55 |
installcheck-local: |
installcheck-local: |
56 |
$(SHELL) $(srcdir)/$(TESTSUITE) AUTOTEST_PATH=$(exec_prefix)/bin |
$(SHELL) $(srcdir)/$(TESTSUITE) AUTOTEST_PATH=$(exec_prefix)/bin |
57 |
|
|
58 |
|
## ------------ ## |
59 |
|
## package.m4. ## |
60 |
|
## ------------ ## |
61 |
|
|
62 |
|
package.m4: $(top_srcdir)/configure.in |
63 |
|
{ \ |
64 |
|
echo '# Signature of the current package.'; \ |
65 |
|
echo 'm4_define([PACKAGE_NAME], [@PACKAGE_NAME@])'; \ |
66 |
|
echo 'm4_define([PACKAGE_TARNAME], [@PACKAGE_TARNAME@])'; \ |
67 |
|
echo 'm4_define([PACKAGE_VERSION], [@PACKAGE_VERSION@])'; \ |
68 |
|
echo 'm4_define([PACKAGE_STRING], [@PACKAGE_STRING@])'; \ |
69 |
|
echo 'm4_define([PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])'; \ |
70 |
|
} >package.m4 |