diff --git a/Makefile b/Makefile index 198b516..83b005f 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ GAMES_DIR?=/usr/games SCORES_DIR?=/var/games - +MAN_DIR?=/usr/share/man/man6 CFLAGS+= -O3 -Wno-unused-result -D SCORES_DIR=\"$(SCORES_DIR)\" LDFLAGS+= -lncurses -lm @@ -19,7 +19,8 @@ scorefiles: for sf in $(SCORE_FILES); do touch $(SCORES_DIR)/$$sf ; chown :games $(SCORES_DIR)/$$sf ; done; for game in $(ALL); do chown :games $(GAMES_DIR)/$$game; chmod +s $(GAMES_DIR)/$$game ; done; - +manpages: + cp man/* $(MAN_DIR) jewels: jewels.c config.h common.h $(CC) jewels.c $(LDFLAGS) $(CFLAGS) -o ./jewels sudoku: sudoku.c config.h @@ -58,7 +59,7 @@ snakeduel: snakeduel.c config.h clean: rm $(ALL) uninstall: - for game in $(ALL); do rm $(GAMES_DIR)/$$game; done; + for game in $(ALL); do rm $(GAMES_DIR)/$$game; rm $(MAN_DIR)/$$game.6.gz done; install: $(ALL) cp $(ALL) $(GAMES_DIR) diff --git a/man/battleship.6.gz b/man/battleship.6.gz new file mode 100644 index 0000000..04d6388 Binary files /dev/null and b/man/battleship.6.gz differ diff --git a/man/checkers.6.gz b/man/checkers.6.gz new file mode 100644 index 0000000..7ebca03 Binary files /dev/null and b/man/checkers.6.gz differ diff --git a/man/darrt.6.gz b/man/darrt.6.gz new file mode 100644 index 0000000..df957b9 Binary files /dev/null and b/man/darrt.6.gz differ diff --git a/man/fifteen.6.gz b/man/fifteen.6.gz new file mode 100644 index 0000000..c891845 Binary files /dev/null and b/man/fifteen.6.gz differ diff --git a/man/fisher.6.gz b/man/fisher.6.gz new file mode 100644 index 0000000..72b5322 Binary files /dev/null and b/man/fisher.6.gz differ diff --git a/man/jewels.6.gz b/man/jewels.6.gz new file mode 100644 index 0000000..af2084a Binary files /dev/null and b/man/jewels.6.gz differ diff --git a/man/memoblocks.6.gz b/man/memoblocks.6.gz new file mode 100644 index 0000000..5282953 Binary files /dev/null and b/man/memoblocks.6.gz differ diff --git a/man/miketron.6.gz b/man/miketron.6.gz new file mode 100644 index 0000000..cec2a27 Binary files /dev/null and b/man/miketron.6.gz differ diff --git a/man/mines.6.gz b/man/mines.6.gz new file mode 100644 index 0000000..bcf53c2 Binary files /dev/null and b/man/mines.6.gz differ diff --git a/man/muncher.6.gz b/man/muncher.6.gz new file mode 100644 index 0000000..565380e Binary files /dev/null and b/man/muncher.6.gz differ diff --git a/man/pipes.6.gz b/man/pipes.6.gz new file mode 100644 index 0000000..4637bf6 Binary files /dev/null and b/man/pipes.6.gz differ diff --git a/man/rabbithole.6.gz b/man/rabbithole.6.gz new file mode 100644 index 0000000..a9612d9 Binary files /dev/null and b/man/rabbithole.6.gz differ diff --git a/man/redsquare.6.gz b/man/redsquare.6.gz new file mode 100644 index 0000000..889f5f8 Binary files /dev/null and b/man/redsquare.6.gz differ diff --git a/man/reversi.6.gz b/man/reversi.6.gz new file mode 100644 index 0000000..a7dfce5 Binary files /dev/null and b/man/reversi.6.gz differ diff --git a/man/snakeduel.6.gz b/man/snakeduel.6.gz new file mode 100644 index 0000000..39f79fd Binary files /dev/null and b/man/snakeduel.6.gz differ diff --git a/man/sos.6.gz b/man/sos.6.gz new file mode 100644 index 0000000..90d0807 Binary files /dev/null and b/man/sos.6.gz differ diff --git a/man/sudoku.6.gz b/man/sudoku.6.gz new file mode 100644 index 0000000..8736174 Binary files /dev/null and b/man/sudoku.6.gz differ