Austin English : winecfg: Add a manpage.

Alexandre Julliard julliard at winehq.org
Thu Dec 2 16:30:54 CST 2010


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

Author: Austin English <austinenglish at gmail.com>
Date:   Wed Nov 24 06:43:10 2010 -0800

winecfg: Add a manpage.
(cherry picked from commit 68daebb681c1df761a035666217945a23c3c5d23)

---

 .gitignore                      |    1 +
 programs/winecfg/Makefile.in    |   12 ++++++++++++
 programs/winecfg/winecfg.man.in |   13 +++++++++++++
 3 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/.gitignore b/.gitignore
index aecb01a..3c5363c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -254,6 +254,7 @@ programs/rpcss/irot.h
 programs/rpcss/irot_s.c
 programs/services/svcctl.h
 programs/services/svcctl_s.c
+programs/winecfg/winecfg.man
 programs/winedbg/dbg.tab.c
 programs/winedbg/dbg.tab.h
 programs/winedbg/debug.yy.c
diff --git a/programs/winecfg/Makefile.in b/programs/winecfg/Makefile.in
index 8cf878e..ca4b0be 100644
--- a/programs/winecfg/Makefile.in
+++ b/programs/winecfg/Makefile.in
@@ -47,8 +47,20 @@ RC_SRCS = \
 	Zh.rc \
 	winecfg.rc
 
+MANPAGES = winecfg.man
+
 SVG_SRCS = \
 	logo.svg \
 	winecfg.svg
 
 @MAKE_PROG_RULES@
+
+all: $(MANPAGES)
+
+install-man-pages:: $(MANPAGES) $(DESTDIR)$(mandir)/man$(prog_manext)
+	$(INSTALL_DATA) winecfg.man $(DESTDIR)$(mandir)/man$(prog_manext)/winecfg.$(prog_manext)
+
+ at WOW64_DISABLE@ install install-lib:: install-man-pages
+
+uninstall::
+	$(RM) $(DESTDIR)$(mandir)/man$(prog_manext)/winecfg.$(prog_manext)
diff --git a/programs/winecfg/winecfg.man.in b/programs/winecfg/winecfg.man.in
new file mode 100644
index 0000000..0c56238
--- /dev/null
+++ b/programs/winecfg/winecfg.man.in
@@ -0,0 +1,13 @@
+.TH WINECFG 1 "November 2010" "@PACKAGE_STRING@" "Wine Programs"
+.SH NAME
+winecfg \- Wine Configuration Editor
+.SH SYNOPSIS
+.BR "winecfg"
+.SH DESCRIPTION
+.B winecfg
+is the Wine configuration editor. It allows you to change several settings, such as DLL load order
+(native versus builtin), enable a virtual desktop, setup disk drives, and change the Wine audio driver,
+among others. Many of these settings can be made on a per application basis, for example, preferring native
+riched20.dll for wordpad.exe, but not for notepad.exe.
+.SH "SEE ALSO"
+.BR wine(1)




More information about the wine-cvs mailing list