comparison test/Makefile.am @ 10004:e517da95bf98

Eliminate TOPDIR variable in favor of built-in automake variables top_builddir and top_srcdir.
author Rik <rdrider0-list@yahoo.com>
date Sat, 19 Dec 2009 22:58:54 -0800
parents 5277222b47d1
children 655ab6f6c369
comparison
equal deleted inserted replaced
10003:2ea3110e15ed 10004:e517da95bf98
17 # 17 #
18 # You should have received a copy of the GNU General Public License 18 # You should have received a copy of the GNU General Public License
19 # along with Octave; see the file COPYING. If not, see 19 # along with Octave; see the file COPYING. If not, see
20 # <http://www.gnu.org/licenses/>. 20 # <http://www.gnu.org/licenses/>.
21 21
22 TOPDIR = .. 22 include $(top_srcdir)/common.mk
23
24 include ../common.mk
25 23
26 FCN_FILES = \ 24 FCN_FILES = \
27 fntests.m \ 25 fntests.m \
28 test_args.m \ 26 test_args.m \
29 test_classes.m \ 27 test_classes.m \
62 include @Pork/module.mk 60 include @Pork/module.mk
63 include @Sneetch/module.mk 61 include @Sneetch/module.mk
64 include @Snork/module.mk 62 include @Snork/module.mk
65 include @Spork/module.mk 63 include @Spork/module.mk
66 64
65 check: test_sparse.m
66 $(top_builddir)/run-octave --norc --silent --no-history $(srcdir)/fntests.m $(srcdir)
67
68 test_sparse.m: build_sparse_tests.sh
69 $(srcdir)/build_sparse_tests.sh
70
67 EXTRA_DIST = \ 71 EXTRA_DIST = \
68 ChangeLog \ 72 ChangeLog \
69 build_sparse_tests.sh \ 73 build_sparse_tests.sh \
70 $(FCN_FILES) 74 $(FCN_FILES)
71 75
73 test_sparse.m 77 test_sparse.m
74 78
75 DISTCLEANFILES = \ 79 DISTCLEANFILES = \
76 fntests.log 80 fntests.log
77 81
78 check: test_sparse.m
79 ../run-octave --norc --silent --no-history $(srcdir)/fntests.m $(srcdir)
80
81 test_sparse.m: build_sparse_tests.sh
82 $(srcdir)/build_sparse_tests.sh
83