useful for a long time.
DISTSOURCE = COPYING COPYRIGHT ChangeLog ChangeLog.2 FAQ FAQ.html \
INSTALL Makefile.in READ_ME ToDo backend.c backend.h \
backendz.h bitmaps bitmaps.xchess childio.c childio.h cmail.in \
- cmail.man comment.in common.h config.guess config.sub \
+ cmail.man common.h config.guess config.sub \
configure configure.in engine-intf.html frontend.h gamelist.c \
ics-parsing.txt install-sh kk13.pgn lists.c \
lists.h mkinstalldirs moves.c moves.h parser.h parser.l pgntags.c \
distclean: clean tidy
rm -f config.cache config.log config.status Makefile
- rm -f config.h stamp-h xboard.texinfo cmail comment.awk
+ rm -f config.h stamp-h xboard.texinfo cmail
cd winboard ; make -f cygwin.mak clean
mostlyclean: clean
+++ /dev/null
-#! @AWKPATH@ -f
-#
-# Preprocessor for chess games that are formatted as blocks of moves
-# interspersed with blocks of text, separated by blank lines. Finds
-# the blocks of text and encloses them with "{ }" brackets so that
-# xboard's game parser can identify them as comments. Many games are
-# posted to rec.games.chess in this format.
-#
-# Limitation: Fails if a text block starts with a numbered move. In
-# that case you'll have to hand-edit the output.
-#
-BEGIN {
- inmoves = 0;
- blankline = 1;
-}
-
-{
- if (NF == 0) {
- blankline = 1;
- } else if (blankline) {
- blankline = 0;
- if ($1 ~ /^[0-9]+/) {
- if (!inmoves) {
- inmoves = 1;
- print "}";
- } else {
- print "";
- }
- } else {
- if (inmoves) {
- inmoves = 0;
- print "{";
- } else {
- print "}{";
- }
- }
- print $0;
- } else {
- print $0;
- }
-}
-
- ac_config_files="$ac_config_files Makefile comment.awk:comment.in cmail xboard.texinfo"
+ ac_config_files="$ac_config_files Makefile cmail xboard.texinfo"
ac_config_commands="$ac_config_commands default"
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
case "$ac_config_target" in
# Handling of arguments.
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
- "comment.awk" ) CONFIG_FILES="$CONFIG_FILES comment.awk:comment.in" ;;
"cmail" ) CONFIG_FILES="$CONFIG_FILES cmail" ;;
"xboard.texinfo" ) CONFIG_FILES="$CONFIG_FILES xboard.texinfo" ;;
"default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
echo "$as_me: executing $ac_dest commands" >&6;}
case $ac_dest in
default ) test -z "$CONFIG_HEADERS" || date > stamp-h
-chmod 755 comment.awk cmail
+chmod 755 cmail
;;
esac
done
AC_SUBST(VERSION)
AC_SUBST(PATCHLEVEL)
-AC_OUTPUT(Makefile comment.awk:comment.in cmail xboard.texinfo,
+AC_OUTPUT(Makefile cmail xboard.texinfo,
[test -z "$CONFIG_HEADERS" || date > stamp-h
-chmod 755 comment.awk cmail
+chmod 755 cmail
])