Module: wine
Branch: stable
Commit: 46e9e9fd5c296899e623ca3e74d6455b7bd21f13
URL: http://source.winehq.org/git/wine.git/?a=commit;h=46e9e9fd5c296899e623ca3e7…
Author: Austin English <austinenglish(a)gmail.com>
Date: Thu Nov 25 10:28:05 2010 -0800
winepath: Add a manpage.
(cherry picked from commit 78a1df139ee2cd41c04d1cd8c1f04df0361639a5)
---
.gitignore | 1 +
programs/winepath/Makefile.in | 12 ++++++++++++
programs/winepath/winepath.man.in | 32 ++++++++++++++++++++++++++++++++
3 files changed, 45 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
index 323ed87..16e20e2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -264,6 +264,7 @@ programs/winedbg/debug.yy.c
programs/winedbg/winedbg.man
programs/winefile/winefile.man
programs/winemine/winemine.man
+programs/winepath/winepath.man
programs/winetest/*_test.exe
programs/winetest/*_test.rc
programs/winetest/build.rc
diff --git a/programs/winepath/Makefile.in b/programs/winepath/Makefile.in
index f487c06..e9b4b8d 100644
--- a/programs/winepath/Makefile.in
+++ b/programs/winepath/Makefile.in
@@ -9,4 +9,16 @@ IMPORTS = kernel32
C_SRCS = winepath.c
+MANPAGES = winepath.man
+
@MAKE_PROG_RULES@
+
+all: $(MANPAGES)
+
+install-man-pages:: $(MANPAGES) $(DESTDIR)$(mandir)/man$(prog_manext)
+ $(INSTALL_DATA) winepath.man $(DESTDIR)$(mandir)/man$(prog_manext)/winepath.$(prog_manext)
+
+@WOW64_DISABLE@ install install-lib:: install-man-pages
+
+uninstall::
+ $(RM) $(DESTDIR)$(mandir)/man$(prog_manext)/winepath.$(prog_manext)
diff --git a/programs/winepath/winepath.man.in b/programs/winepath/winepath.man.in
new file mode 100644
index 0000000..c27b7ee
--- /dev/null
+++ b/programs/winepath/winepath.man.in
@@ -0,0 +1,32 @@
+.TH WINEPATH 1 "November 2010" "@PACKAGE_STRING@" "Wine Programs"
+.SH NAME
+winepath \- Tool to convert Unix paths to/from Win32 paths
+.SH SYNOPSIS
+.BR "winepath "\fIoption\fR " \fI{path}\fR"
+.SH DESCRIPTION
+.B winepath
+is a tool to convert a Unix path to/from a Win32 (short/long) path.
+compatible with its Microsoft Windows counterpart.
+
+If more than one option is given then the input paths are output in
+all formats specified, in the order long, short, Unix, Windows.
+If no option is given the default output is Unix format.
+.SH OPTIONS
+.IP \-u,\ \-\-unix
+converts a Windows path to a Unix path.
+.IP \-w,\ \\-\-windows
+converts a Unix path to a long Windows path.
+.IP \-l,\ \\-\-long
+converts the short Windows path of an existing file or directory to the long
+format.
+.IP \-s,\ \\-\-short
+converts the long Windows path of an existing file or directory to the short
+format.
+.IP \-0
+separate output with \\0 character, instead of a newline.
+.IP \-h,\ \\-\-help
+shows winepath help message and exit.
+.IP \-v,\ \\-\-version
+shows version information and exit.
+.SH "SEE ALSO"
+.BR wine (1)
Module: wine
Branch: stable
Commit: 0dcdefa8151ba9c577cf5c7aaf5c3bd805c13feb
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0dcdefa8151ba9c577cf5c7aa…
Author: Austin English <austinenglish(a)gmail.com>
Date: Thu Nov 25 09:55:21 2010 -0800
regedit: Add a manpage.
(cherry picked from commit 76725fbb68606acf40d6e15d7942996749771407)
---
.gitignore | 1 +
programs/regedit/Makefile.in | 12 ++++++++++++
programs/regedit/regedit.man.in | 32 ++++++++++++++++++++++++++++++++
3 files changed, 45 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
index 81f0e48..323ed87 100644
--- a/.gitignore
+++ b/.gitignore
@@ -247,6 +247,7 @@ loader/wine64
programs/Makeprog.rules
programs/msiexec/msiexec.man
programs/notepad/notepad.man
+programs/regedit/regedit.man
programs/regsvr32/regsvr32.man
programs/rpcss/epm.h
programs/rpcss/epm_s.c
diff --git a/programs/regedit/Makefile.in b/programs/regedit/Makefile.in
index 7b74470..7893fd8 100644
--- a/programs/regedit/Makefile.in
+++ b/programs/regedit/Makefile.in
@@ -49,6 +49,18 @@ RC_SRCS = \
Zh.rc \
rsrc.rc
+MANPAGES = regedit.man
+
SVG_SRCS = regedit.svg
@MAKE_PROG_RULES@
+
+all: $(MANPAGES)
+
+install-man-pages:: $(MANPAGES) $(DESTDIR)$(mandir)/man$(prog_manext)
+ $(INSTALL_DATA) regedit.man $(DESTDIR)$(mandir)/man$(prog_manext)/regedit.$(prog_manext)
+
+@WOW64_DISABLE@ install install-lib:: install-man-pages
+
+uninstall::
+ $(RM) $(DESTDIR)$(mandir)/man$(prog_manext)/regedit.$(prog_manext)
diff --git a/programs/regedit/regedit.man.in b/programs/regedit/regedit.man.in
new file mode 100644
index 0000000..963adc2
--- /dev/null
+++ b/programs/regedit/regedit.man.in
@@ -0,0 +1,32 @@
+.TH REGEDIT 1 "November 2010" "@PACKAGE_STRING@" "Wine Programs"
+.SH NAME
+regedit \- Wine registry editor
+.SH SYNOPSIS
+.BR "regedit "\fI[text file]\fR "
+.SH DESCRIPTION
+.B regedit
+is the Wine registry editor, designed to be compatible with its Microsoft Windows counterpart.
+If called without any options, it will start the full GUI editor.
+
+The switches are case\-insensitive and can be prefixed either by '\-' or '/'.
+.SH "OPTIONS"
+.TP
+\fB\-E\fR \fIfile\fR [\fIregpath\fR]
+Exports the content of the specified registry key to the specified \fIfile\fR. It exports
+the whole registry if no key is specified.
+.IP "\-D " regpath
+Deletes the specified registry key.
+.IP \-S
+Run regedit silently (ignored, CLI mode is always silent). This exists for compatability with Windows regedit.
+.IP \-V
+Run regedit in advanced mode (ignored). This exists for compatability with Windows regedit.
+.IP "\-L " location
+Specifies the location of the system.dat registry file (ignored). This exists for compatability with Windows regedit.
+.IP "\-R " location
+Specifies the location of the user.dat registry file (ignored). This exists for compatability with Windows regedit.
+.IP \-?
+Prints a help message. Any other options are ignored.
+.IP \-C \fIfile.reg\fR
+Create registry from \fIfile\fR (unimplemented).
+.SH "SEE ALSO"
+.BR wine(1)