diff --git a/.gitignore b/.gitignore index ab6c86d392b..834f2562a73 100644 --- a/.gitignore +++ b/.gitignore @@ -271,6 +271,7 @@ programs/services/svcctl.h programs/services/svcctl_s.c programs/wineboot/wineboot.man programs/winecfg/winecfg.man +programs/wineconsole/wineconsole.man programs/winedbg/dbg.tab.c programs/winedbg/dbg.tab.h programs/winedbg/debug.yy.c diff --git a/programs/wineconsole/Makefile.in b/programs/wineconsole/Makefile.in index 024b7747f99..8238cc0f2ca 100644 --- a/programs/wineconsole/Makefile.in +++ b/programs/wineconsole/Makefile.in @@ -36,4 +36,16 @@ RC_SRCS = \ wineconsole_Uk.rc \ wineconsole_Zh.rc +MANPAGES = wineconsole.man + @MAKE_PROG_RULES@ + +all: $(MANPAGES) + +install-man-pages:: $(MANPAGES) $(DESTDIR)$(mandir)/man$(prog_manext) + $(INSTALL_DATA) wineconsole.man $(DESTDIR)$(mandir)/man$(prog_manext)/wineconsole.$(prog_manext) + +@WOW64_DISABLE@ install install-lib:: install-man-pages + +uninstall:: + $(RM) $(DESTDIR)$(mandir)/man$(prog_manext)/wineconsole.$(prog_manext) diff --git a/programs/wineconsole/wineconsole.man.in b/programs/wineconsole/wineconsole.man.in new file mode 100644 index 00000000000..8ae52fa82a4 --- /dev/null +++ b/programs/wineconsole/wineconsole.man.in @@ -0,0 +1,15 @@ +.TH WINECONSOLE 1 "November 2010" "@PACKAGE_STRING@" "Wine Programs" +.SH NAME +wineconsole \- The Wine console +.SH SYNOPSIS +.BR "wineconsole "\fI[option]\fR " command +.SH DESCRIPTION +.B wineconsole +is the Wine console manager, used to run console commands and applications. It allows running the +console either in the current terminal (\fIcurses\fR) or in a newly made window (\fIuser\fR). +.SH "OPTIONS" +.IP \-\-backend=\fR{\fIuser\fR|\fIcurses\fR} +If \fIuser\fR is chosen, a new window will be created for the console. The \fIcurses\fR option will make +wineconsole try to setup the current terminal as a Wine console. +.SH "SEE ALSO" +.BR wine(1)