Austin English : wineconsole: Add a manpage.

Alexandre Julliard julliard at winehq.org
Fri Nov 26 10:20:04 CST 2010


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

Author: Austin English <austinenglish at gmail.com>
Date:   Thu Nov 25 08:18:03 2010 -0800

wineconsole: Add a manpage.

---

 .gitignore                              |    1 +
 programs/wineconsole/Makefile.in        |   12 ++++++++++++
 programs/wineconsole/wineconsole.man.in |   15 +++++++++++++++
 3 files changed, 28 insertions(+), 0 deletions(-)

diff --git a/.gitignore b/.gitignore
index ab6c86d..834f256 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 024b774..8238cc0 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)
+
+ at 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 0000000..8ae52fa
--- /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)




More information about the wine-cvs mailing list