diff --git a/.gitignore b/.gitignore index 7375ae6dd3a..1f4999a7e42 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 4d5c5d12274..33e9a194110 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) + +@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 00000000000..004a53dab85 --- /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)