summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-09-01 00:22:13 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-09-01 00:22:13 -0400
commit10f2825256e4b2597059350318c16c7734d2bf52 (patch)
tree0e6d4661c35392e4b929ccc08def0abd4bc08953 /Makefile.am
parent234547297ad1872b7ed7fe269fe34deac1798c68 (diff)
chess-test is now invoked with the name of the database to read.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 3c9397d..b4cde68 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -68,8 +68,10 @@ chess-eco.fen: chess-eco.pos chess-eco.el
TESTS = chess-test
-chess-test:
- echo "$(EMACS) -batch -L $(srcdir) -l chess-test.el --eval '(chess-test)'" > $@
+database = test/largedb
+
+chess-test: Makefile
+ echo "$(EMACS) -batch -L $(srcdir) -l chess-test.el -f chess-test '$(database)'" > $@
chmod u+x $@
TAGS: $(dist_lisp_LISP)