Move the replay debugging script iup from the C sources directory.
authorEric S. Raymond <esr@thyrsus.com>
Tue, 30 Nov 2010 08:57:12 +0000 (08:57 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Tue, 30 Nov 2010 08:57:12 +0000 (08:57 +0000)
c-version/src/replay [deleted file]
doc/Makefile.am [deleted file]
replay [new file with mode: 0755]

diff --git a/c-version/src/replay b/c-version/src/replay
deleted file mode 100755 (executable)
index 9e5c196..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-# Replay the last SST game. With arg, use only that many lines of the log
-#
-# Because the replay log captures the random-number seed,
-# repeating this any number of times should produce identical games,
-# unless the code changes.
-#
-if [ $1 ]
-then
-    head -n `expr $1 + 2` </usr/tmp/sst-input.log >replay.log
-else
-    mv /usr/tmp/sst-input.log replay.log
-fi
-python sst.py -t -r replay.log
diff --git a/doc/Makefile.am b/doc/Makefile.am
deleted file mode 100644 (file)
index 4488435..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-man_MANS = sst.6
-pkgdata_DATA = sst-doc.txt sst.doc
-CLEANFILES = $(pkgdata_DATA) $(man_MANS)
-EXTRA_DIST = makehelp.py sst-doc.xml sst-layer.xsl sst.xml
-
-sst.6: sst.xml
-       xmlto man sst.xml
-
-sst-doc.txt: sst-doc.xml
-       xmlto -m sst-layer.xsl txt sst-doc.xml
-sst.doc: sst-doc.txt
-       ./makehelp.py >sst.doc
-
-sst-doc.html: sst-doc.xml
-       xmlto xhtml-nochunks sst-doc.xml
diff --git a/replay b/replay
new file mode 100755 (executable)
index 0000000..9e5c196
--- /dev/null
+++ b/replay
@@ -0,0 +1,14 @@
+#!/bin/sh
+# Replay the last SST game. With arg, use only that many lines of the log
+#
+# Because the replay log captures the random-number seed,
+# repeating this any number of times should produce identical games,
+# unless the code changes.
+#
+if [ $1 ]
+then
+    head -n `expr $1 + 2` </usr/tmp/sst-input.log >replay.log
+else
+    mv /usr/tmp/sst-input.log replay.log
+fi
+python sst.py -t -r replay.log