summaryrefslogtreecommitdiff
path: root/documentation
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2006-01-15 18:36:16 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2006-01-15 18:36:16 +0000
commit115d539691f4e06adbaca9829e28b3552f29798c (patch)
tree8230a283621134c61e3036289dcac335bfa3faba /documentation
parent61b86ce0e5d234d1cb5818922d8ee44bcf823224 (diff)
More packaging fun.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4756 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation')
-rw-r--r--documentation/Makefile20
-rw-r--r--documentation/checkers.man24
-rw-r--r--documentation/sudoku.man33
3 files changed, 76 insertions, 1 deletions
diff --git a/documentation/Makefile b/documentation/Makefile
index d626b2053..585f2e414 100644
--- a/documentation/Makefile
+++ b/documentation/Makefile
@@ -211,7 +211,8 @@ IMAGEFILES = \
value_slider.gif
-MANPAGES = fltk.$(CAT3EXT) fltk-config.$(CAT1EXT) fluid.$(CAT1EXT)
+MANPAGES = fltk.$(CAT3EXT) fltk-config.$(CAT1EXT) fluid.$(CAT1EXT) \
+ checkers.$(CAT6EXT) sudoku.$(CAT6EXT)
all: $(MANPAGES)
@@ -248,6 +249,18 @@ install: $(MANPAGES)
$(CP) fltk.man $(DESTDIR)$(mandir)/man3/fltk.3
$(CHMOD) 644 $(DESTDIR)$(mandir)/man3/fltk.3
+install-linux install-osx:
+ -$(MKDIR) $(DESTDIR)$(mandir)/cat6
+ $(CP) checkers.$(CAT6EXT) $(DESTDIR)$(mandir)/cat6
+ $(CHMOD) 644 $(DESTDIR)$(mandir)/cat6/checkers.$(CAT6EXT)
+ $(CP) sudoku.$(CAT6EXT) $(DESTDIR)$(mandir)/cat6
+ $(CHMOD) 644 $(DESTDIR)$(mandir)/cat6/sudoku.$(CAT6EXT)
+ -$(MKDIR) $(DESTDIR)$(mandir)/man6
+ $(CP) checkers.man $(DESTDIR)$(mandir)/man6/checkers.6
+ $(CHMOD) 644 $(DESTDIR)$(mandir)/man6/checkers.6
+ $(CP) sudoku.man $(DESTDIR)$(mandir)/man6/sudoku.6
+ $(CHMOD) 644 $(DESTDIR)$(mandir)/man6/sudoku.6
+
uninstall:
$(RMDIR) $(DESTDIR)$(docdir)
@@ -258,6 +271,11 @@ uninstall:
$(RM) $(DESTDIR)$(mandir)/cat3/fltk.$(CAT3EXT)
$(RM) $(DESTDIR)$(mandir)/man3/fltk.3
+uninstall-linux uninstall-osx:
+ $(RM) $(DESTDIR)$(mandir)/cat6/checkers.$(CAT6EXT)
+ $(RM) $(DESTDIR)$(mandir)/cat6/sudoku.$(CAT6EXT)
+ $(RM) $(DESTDIR)$(mandir)/man6/checkers.6
+ $(RM) $(DESTDIR)$(mandir)/man6/sudoku.6
# Base html files are now the readable ones, so this target is not make by
# default...
diff --git a/documentation/checkers.man b/documentation/checkers.man
new file mode 100644
index 000000000..097277474
--- /dev/null
+++ b/documentation/checkers.man
@@ -0,0 +1,24 @@
+.TH checkers 6 "FLTK Checkers" "15 January 2006"
+.SH NAME
+checkers \- the fltk checkers game
+.sp
+.SH SYNOPSIS
+\fICheckers\fR is a FLTK-based version of the game of checkers.
+The game is played on an 8x8 board with each player starting with
+12 pieces or "checkers" on opposite sides of the board. The
+computer plays the white checkers in this version of the game.
+.LP
+The object of the game is to remove all of your opponents pieces.
+Players move one of their pieces diagonally forward on each move,
+either a single space or by "jumping" an adjacent piece. Your
+opponents pieces are removed by jumping them - you can make
+multiple jumps in a single turn.
+.LP
+If a piece reaches the other side of the board, it is converted
+to a "king" which can move both forwards and backwards.
+.SH SEE ALSO
+fltk(3)
+.br
+FLTK Web Site, http://www.fltk.org/
+.SH AUTHORS
+Bill Spitzak and others.
diff --git a/documentation/sudoku.man b/documentation/sudoku.man
new file mode 100644
index 000000000..32d496e8e
--- /dev/null
+++ b/documentation/sudoku.man
@@ -0,0 +1,33 @@
+.TH sudoku 6 "FLTK Sudoku" "15 January 2006"
+.SH NAME
+sudoku \- the fltk sudoku game
+.sp
+.SH SYNOPSIS
+\fISudoku\fR is a FLTK-based version of the game of Sudoku.
+Sudoku (pronounced soo-dough-coo with the emphasis on the first
+syllable) is a simple number-based puzzle/game played on a 9x9
+grid that is divided into 3x3 subgrids. The goal is to enter a
+number from 1 to 9 in each cell so that each number appears only
+once in each column and row.
+.LP
+At the start of a new game, Sudoku fills in a random selection of
+cells for you - the number of cells depends on the difficulty
+level you use. Click in any of the empty cells or use the arrow
+keys to highlight individual cells and press a number from 1 to 9
+to fill in the cell. To clear a cell, press 0, Delete, or
+Backspace. As you complete each subgrid, correct subgrids are
+highlighted in green. When you have successfully completed all
+subgrids, the entire puzzle is highlighted until you start a new
+game.
+.LP
+As you work to complete the puzzle, you can display possible
+solutions inside each cell by holding the Shift key and pressing
+each number in turn. Repeat the process to remove individual
+numbers, or press a number without the Shift key to replace them
+with the actual number to use.
+.SH SEE ALSO
+fltk(3)
+.br
+FLTK Web Site, http://www.fltk.org/
+.SH AUTHOR
+Michael R Sweet.