]> code.delx.au - gnu-emacs-elpa/blobdiff - Makefile.am
Low level polyglot binary opening book support.
[gnu-emacs-elpa] / Makefile.am
index 4d58055e5b0248e16d68180fc871c3bb2a1c7603..4ba55fac9105af1d31b87df23c3e50cfba4683ce 100644 (file)
@@ -27,6 +27,7 @@ dist_lisp_LISP =         \
        chess-gnuchess.el  \
        chess-ics.el       \
        chess-ics1.el      \
+       chess-ics2.el      \
        chess-images.el    \
        chess-input.el     \
        chess-irc.el       \
@@ -47,10 +48,12 @@ dist_lisp_LISP =       \
        chess-scid.el      \
        chess-sjeng.el     \
        chess-sound.el     \
+       chess-stockfish.el \
        chess-test.el      \
        chess-transport.el \
        chess-tutorial.el  \
        chess-ucb.el       \
+       chess-uci.el       \
        chess-var.el       \
        chess-eco.el
 
@@ -86,7 +89,7 @@ COUNT  = 100000
 # run).
 #
 #   chess1 $ rm -f chess-test; nice -n 20 make START=0 COUNT=2104715 check
-#   chess2 $ rm -f chess-test; nice -n 20 make START=2104715 COUNT=-1 check
+#   chess2 $ rm -f chess-test; nice -n 20 make START=2104715 COUNT=0 check
 #
 # I run both of these using `screen', with a vertical split so I can watch
 # them both running.  I type C-a H in each screen window before starting, so
@@ -101,6 +104,16 @@ chess-test:
        echo "$(EMACS) -batch -L $(srcdir) -l chess-test.el -f chess-test '$(DATABASE)' $(START) $(COUNT); rm -f $(top_builddir)/chess-test" > $@
        chmod u+x $@
 
+test/twic.pgn:
+       (set -e; f=$$(pwd)/$@; tmp_dir=`mktemp -d`; \
+        cd $$tmp_dir; \
+        lftp -c "open http://www.theweekinchess.com/zips/; mget twic*g.zip"; \
+        for zip in *.zip; do unzip $$zip; done; \
+        cat *.pgn > $$f; rm *.pgn)
+
+check-twic: test/twic.pgn
+       $(MAKE) DATABASE=$< START=0 COUNT=0 check
+
 TAGS: $(dist_lisp_LISP)
        @etags $(dist_lisp_LISP)
        @echo TAGS rebuilt.