Package: wine
Version: 0.9.14-1
Followup-For: Bug #284296

  Hello !

  I had fun writing a man page for wineprefixcreate in the context of my NM 
process. I join 
a patch so that you can include it in the next release.

  Regards,

        Vincent Fourmond
diff -Naur wine-0.9.14.old/debian/wine.files wine-0.9.14/debian/wine.files
--- wine-0.9.14.old/debian/wine.files   2006-06-28 13:28:40.000000000 +0200
+++ wine-0.9.14/debian/wine.files       2006-06-28 15:06:04.000000000 +0200
@@ -21,4 +21,5 @@
 usr/lib/wine/start.exe.so
 usr/lib/wine/winemenubuilder.exe.so
 usr/share/man/man1/wine.1
+usr/share/man/man1/wineprefixcreate.1
 usr/share/wine/wine.inf
diff -Naur wine-0.9.14.old/tools/Makefile.in wine-0.9.14/tools/Makefile.in
--- wine-0.9.14.old/tools/Makefile.in   2006-05-24 19:40:49.000000000 +0200
+++ wine-0.9.14/tools/Makefile.in       2006-06-28 14:25:12.000000000 +0200
@@ -19,7 +19,8 @@
        wineprefixcreate
 
 MANPAGES = \
-       winemaker.man
+       winemaker.man \
+       wineprefixcreate.man
 
 C_SRCS = \
        bin2res.c \
@@ -73,11 +74,12 @@
        sed -e "s,@bintodlldir\@,`$(RELPATH) $(bindir) $(dlldir)`,g" -e 
"s,@bintodatadir\@,`$(RELPATH) $(bindir) $(datadir)/wine`,g" 
$(SRCDIR)/wineprefixcreate.in >$@ || ($(RM) $@ && false)
        chmod +x wineprefixcreate
 
-install install-lib:: wineprefixcreate
+install install-lib:: wineprefixcreate $(MANPAGES)
        $(MKINSTALLDIRS) $(DESTDIR)$(bindir) $(DESTDIR)$(datadir)/wine 
$(DESTDIR)$(datadir)/applications
        $(INSTALL_SCRIPT) wineprefixcreate $(DESTDIR)$(bindir)/wineprefixcreate
        $(INSTALL_DATA) $(SRCDIR)/wine.inf $(DESTDIR)$(datadir)/wine/wine.inf
        $(INSTALL_DATA) $(SRCDIR)/wine.desktop 
$(DESTDIR)$(datadir)/applications/wine.desktop
+       $(INSTALL_DATA) wineprefixcreate.man 
$(DESTDIR)$(mandir)/man$(prog_manext)/wineprefixcreate.$(prog_manext)
        -$(UPDATE_DESKTOP_DATABASE)
 
 install install-dev:: $(INSTALLSUBDIRS:%=%/__install__) $(MANPAGES)
diff -Naur wine-0.9.14.old/tools/wineprefixcreate.man.in 
wine-0.9.14/tools/wineprefixcreate.man.in
--- wine-0.9.14.old/tools/wineprefixcreate.man.in       1970-01-01 
01:00:00.000000000 +0100
+++ wine-0.9.14/tools/wineprefixcreate.man.in   2006-06-28 14:00:19.000000000 
+0200
@@ -0,0 +1,65 @@
+.\" This manual page is copyright 2006 by Vincent fourmond
+.\" Permission is granted to copy, distribute and/or modify this
+.\" document under the terms of the terms of the GNU General
+.\" Public License, version 2.0.
+.TH WINPREFIXCREATE "1" "June 2006" "@PACKAGE_STRING@" "Windows On Unix"
+.SH NAME
+Wineprefixcreate \- a utility to create a 
+.I .wine/
+directory from scratch.
+.SH SYNOPSIS
+.B wineprefixcreate
+[\fIoptions\fR]
+.SH DESCRIPTION 
+.B wineprefixcreate
+is a utility that can be used to build a 
+.I .wine 
+directory (called a
+prefix) from scratch. It takes care about setting up system libraries
+and configuration files: many windows programs should run "out of the
+box" with it. 
+.B wineprefixcreate
+is part of
+.B wine\fR.
+It is necessary to create a prefix directory before
+using 
+.B wine\fR.
+
+
+.SH OPTIONS
+
+The creation can be controlled with the following options:
+
+.TP
+.TP
+\fB\-\-prefix\fR \fI<dir>\fR
+Directory to create (default: 
+.I $WINEPREFIX 
+or 
+.I ~/.wine
+)
+.TP
+\fB\-q\fR, \fB\-\-quiet\fR
+Don't print status messages
+.TP
+\fB\-w\fR, \fB\-\-wait\fR
+Wait for the wineserver to exit before returning
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+Get a small help summary
+
+.SH AUTHORS
+.B wine
+is available thanks to the work of many developers. For a listing
+of the authors, please see the file 
+.B AUTHORS
+in the top-level directory of the source distribution.
+
+This manual page was written by Vincent Fourmond for the Debian
+GNU/Linux system (but may be used by others). Permission is granted to
+copy, distribute and/or modify this document under the terms of the
+GNU General Public License, version 2.0.
+
+.SH "SEE ALSO"
+You will find documentation and links in  
+.BR wine (1)

Reply via email to