From 6a7759818a4148e48ebd563aef2203cb19e6c9c3 Mon Sep 17 00:00:00 2001 From: Andriy Palamarchuk 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 @@ + + Test Drive + + + 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. + + + Run make clean 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: + + + $ winemaker --lower-uppercase . + $ ./configure --with-wine=/usr/local/wine + $ make + + + + You are done! Now you can start the application as + ./winemine2. + + + 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 wine-devel@winehq.com + + + Step by step guide