From 6a7759818a4148e48ebd563aef2203cb19e6c9c3 Mon Sep 17 00:00:00 2001
From: Andriy Palamarchuk <apa3a@yahoo.com>
Date: Fri, 9 Aug 2002 00:58:27 +0000
Subject: [PATCH] Added an example of using winemaker.

---
 documentation/winelib-intro.sgml | 35 ++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/documentation/winelib-intro.sgml b/documentation/winelib-intro.sgml
index e714cdf1428..421df497df4 100644
--- a/documentation/winelib-intro.sgml
+++ b/documentation/winelib-intro.sgml
@@ -141,6 +141,41 @@
         </para>
       </sect2>
 
+      <sect2 id="winemaker-test">
+        <title id="winemaker-test.title">Test Drive</title>
+
+        <para>
+          Before starting to work on a big project you may want to try to port a
+          small application. The winemine application from the Wine source tree
+          suits well for testing purposes. It can be found in the programs
+          subdirectory. winemine is a simple application, but has a few C,
+          header and resource files.
+        </para>
+        <para>
+          Run <command>make clean</command> in the
+          winemine source directory if it contains results of previous builds.
+          Create a separate directory with name winemine2, so it won't conflict
+          with the Wine copy of the application. Copy the sources of winemine
+          (files *.c, *.h, *.rc) to this directory. Now run the commands,
+          mentioned above from the winemine2 directory:
+        </para>
+        <programlisting>
+          $ winemaker --lower-uppercase .
+          $ ./configure --with-wine=/usr/local/wine
+          $ make
+        </programlisting>
+
+        <para>
+          You are done! Now you can start the application as
+          <command>./winemine2</command>.
+        </para>
+        <para>
+          If you come across problems preparing and building this application
+          this probably means that winemaker utility is broken by some changes
+          in Wine. Try asking for help on <email>wine-devel@winehq.com</email>
+        </para>
+      </sect2>
+
       <sect2 id="winemaker-guide">
         <title id="winemaker-guide.title">Step by step guide</title>
 
-- 
GitLab