Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/Makefile.am

    rb2b47f r36eb4e  
    1 SUBDIRS = regression Tesselations
     1AUTOM4TE = autom4te
     2EXTRA_DIST = testsuite.at $(TESTSUITE) atlocal.in regression
     3TESTSUITE = $(srcdir)/testsuite
    24
     5SUBDIRS = Tesselations
     6
     7check-local: atconfig atlocal package.m4 $(TESTSUITE)
     8                $(SHELL) '$(TESTSUITE)' $(TESTSUITEFLAGS)
     9
     10installcheck-local: atconfig atlocal $(TESTSUITE)
     11                $(SHELL) '$(TESTSUITE)' AUTOTEST_PATH='$(bindir)' \
     12                $(TESTSUITEFLAGS)
     13     
     14clean-local:
     15                test ! -f '$(TESTSUITE)' || \
     16                $(SHELL) '$(TESTSUITE)' --clean
     17
     18AUTOTEST = $(AUTOM4TE) --language=autotest
     19$(TESTSUITE): $(srcdir)/testsuite.at
     20                $(AUTOTEST) -I '$(srcdir)' -o $@.tmp $@.at
     21                mv $@.tmp $@
     22
     23# The `:;' works around a Bash 3.2 bug when the output is not writeable.
     24$(srcdir)/package.m4: $(top_srcdir)/configure.ac
     25                        :;{ \
     26                                        echo '# Signature of the current package.' && \
     27                                        echo 'm4_define([AT_PACKAGE_NAME],      [@PACKAGE_NAME@])' && \
     28                                        echo 'm4_define([AT_PACKAGE_TARNAME],   [@PACKAGE_TARNAME@])' && \
     29                                        echo 'm4_define([AT_PACKAGE_VERSION],   [@PACKAGE_VERSION@])' && \
     30                                        echo 'm4_define([AT_PACKAGE_STRING],    [@PACKAGE_STRING@])' && \
     31                                        echo 'm4_define([AT_PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])'; \
     32                                } >'$(srcdir)/package.m4'
Note: See TracChangeset for help on using the changeset viewer.