Austin English : winemine: Add a manpage.

Alexandre Julliard julliard at winehq.org
Wed Nov 24 11:28:41 CST 2010


Module: wine
Branch: master
Commit: 82415fff990b9fe0f2593adc62d5a499a835073e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=82415fff990b9fe0f2593adc62d5a499a835073e

Author: Austin English <austinenglish at gmail.com>
Date:   Wed Nov 24 05:48:13 2010 -0800

winemine: Add a manpage.

---

 .gitignore                        |    1 +
 programs/winemine/Makefile.in     |   12 ++++++++++++
 programs/winemine/winemine.man.in |   11 +++++++++++
 3 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/.gitignore b/.gitignore
index 7375ae6..1f4999a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -273,6 +273,7 @@ programs/winedbg/dbg.tab.c
 programs/winedbg/dbg.tab.h
 programs/winedbg/debug.yy.c
 programs/winedbg/winedbg.man
+programs/winemine/winemine.man
 programs/winetest/*_test.exe
 programs/winetest/*_test.rc
 programs/winetest/build.nfo
diff --git a/programs/winemine/Makefile.in b/programs/winemine/Makefile.in
index 4d5c5d1..33e9a19 100644
--- a/programs/winemine/Makefile.in
+++ b/programs/winemine/Makefile.in
@@ -33,6 +33,18 @@ RC_SRCS = \
 	Zh.rc \
 	rsrc.rc
 
+MANPAGES = winemine.man
+
 SVG_SRCS = winemine.svg
 
 @MAKE_PROG_RULES@
+
+all: $(MANPAGES)
+
+install-man-pages:: $(MANPAGES) $(DESTDIR)$(mandir)/man$(prog_manext)
+	$(INSTALL_DATA) winemine.man $(DESTDIR)$(mandir)/man$(prog_manext)/winemine.$(prog_manext)
+
+ at WOW64_DISABLE@ install install-lib:: install-man-pages
+
+uninstall::
+	$(RM) $(DESTDIR)$(mandir)/man$(prog_manext)/winemine.$(prog_manext)
diff --git a/programs/winemine/winemine.man.in b/programs/winemine/winemine.man.in
new file mode 100644
index 0000000..004a53d
--- /dev/null
+++ b/programs/winemine/winemine.man.in
@@ -0,0 +1,11 @@
+.TH WINEMINE 1 "November 2010" "@PACKAGE_STRING@" "Wine Programs"
+.SH NAME
+winemine \- Wine Minesweeper game
+.SH SYNOPSIS
+.BR winemine
+.SH DESCRIPTION
+.B winemine
+is the Wine Minesweeper game. The object of the game is to try to find all the hidden mines by
+uncovering the tiles to see how many mines each tile is adjacent to, without uncovering a mine.
+.SH "SEE ALSO"
+.BR wine(1)




More information about the wine-cvs mailing list