]> code.delx.au - gnu-emacs-elpa/commitdiff
chess-test is now invoked with the name of the database to read.
authorJohn Wiegley <johnw@newartisans.com>
Mon, 1 Sep 2008 04:22:13 +0000 (00:22 -0400)
committerJohn Wiegley <johnw@newartisans.com>
Mon, 1 Sep 2008 04:22:13 +0000 (00:22 -0400)
Makefile.am

index 3c9397da3e6f43bc86c09caf9a247ec1c8b7ddda..b4cde68975d90faaa65e71abe481212af9d1945c 100644 (file)
@@ -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)