From 15a4fbd1cdc2cc092bafe85b8ddd8b392bdbda7d Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Fri, 17 Aug 2012 19:58:53 +0000 Subject: For the convenience of Linux package maintainers, add to Makefile.gtk and Makefile.doc a command-line parameter 'BINPREFIX' which will be prepended to all the game binary names. E.g. 'make BINPREFIX=sgt-' and 'make BINPREFIX=sgt- install', and correspondingly 'make -f Makefile.doc BINPREFIX=sgt-'. Also included in this commit by mistake, changes to singles.c to add \n to the end of all its debug() statements. I meant to commit that separately. Oops. [originally from svn r9606] --- puzzles.but | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'puzzles.but') diff --git a/puzzles.but b/puzzles.but index c08e2e6..ce0ec3d 100644 --- a/puzzles.but +++ b/puzzles.but @@ -298,7 +298,7 @@ For example: if you run Cube (see \k{cube}), select \q{Octahedron} from the \q{Type} menu, and then go to the game ID selection, you will see a string of the form \cq{o2x2#338686542711620}. Take only the part before the hash (\cq{o2x2}), and start Cube with that text -on the command line: \cq{cube o2x2}. +on the command line: \cq{PREFIX-cube o2x2}. If you copy the \e{entire} game ID on to the command line, the game will start up in the specific game that was described. This is @@ -364,7 +364,7 @@ seeds; see \k{common-id}), in the same format produced by For example: -\c net --generate 12 --print 2x3 7x7w | lpr +\c PREFIX-net --generate 12 --print 2x3 7x7w | lpr will generate two pages of printed Net puzzles (each of which will have a 7\by\.7 wrapping grid), and pipe the output to the \c{lpr} @@ -390,7 +390,7 @@ seeds; see \k{common-id}), in the same format produced by For example: -\c net --generate 12 --save game --save-suffix .sav +\c PREFIX-net --generate 12 --save game --save-suffix .sav will generate twelve Net saved-game files with the names \cw{game0.sav} to \cw{game11.sav}. -- cgit v1.1