Author: mysqlpp
Date: Tue Jul  7 16:46:20 2009
New Revision: 2549

URL: http://svn.gna.org/viewcvs/mysqlpp?rev=2549&view=rev
Log:
Tweaks to the MinGW instructions

Modified:
    trunk/doc/userman/incorporating.dbx

Modified: trunk/doc/userman/incorporating.dbx
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/doc/userman/incorporating.dbx?rev=2549&r1=2548&r2=2549&view=diff
==============================================================================
--- trunk/doc/userman/incorporating.dbx (original)
+++ trunk/doc/userman/incorporating.dbx Tue Jul  7 16:46:20 2009
@@ -278,12 +278,18 @@
       href="Makefile.hello.mingw" parse="text"
       xmlns:xi="http://www.w3.org/2001/XInclude"/></programlisting>
 
-      <para>Note the use of forward slashes. Also, we use
-      <command>del</command> instead of <command>rm</command>
-      in the clean target; this assumes there is no
-      <filename>sh.exe</filename> in your <varname>PATH</varname>,
-      which may not be true if you have Cygwin or MSYS installed. Read
-      on to see how to cope with that.</para>
+      <para>Note the use of forward slashes. GNU make uses the
+      backslash as an escape character, so you&rsquo;d have to double
+      them if you&rsquo;re unwilling to use forward slashes.</para>
+
+      <para>Also note that I&rsquo;ve used <command>del</command>
+      instead of <command>rm</command> in the clean target. Unless
+      there is a program called <filename>sh.exe</filename> in
+      your <varname>PATH</varname>, MinGW make uses Windows&rsquo;
+      <filename>cmd.exe</filename> for shell commands. The most likely
+      reason to have <filename>sh.exe</filename> is if you also have
+      Cygwin or MSYS installed. The next section covers the best way
+      I&rsquo;ve found to cope with that.</para>
 
       <sect4 id="inc-mingw-cygwin">
         <title>Working with MinGW Under Cygwin</title>
@@ -320,8 +326,7 @@
   #!/bin/sh
   
PATH=/cygdrive/c/mingw/bin:/cygdrive/c/windows:/cygdrive/c/windows/system32:/cygdrive/c/cygwin/bin
   echo "Say 'exit' to leave MinGW shell and restore Cygwin environment."
-  /usr/bin/bash --rcfile ~/.mingwrc
-  </programlisting>
+  /usr/bin/bash --rcfile ~/.mingwrc</programlisting>
 
         <para>Then there&rsquo;s a tiny little file called
         <filename>.mingwrc</filename> that goes in your Cygwin home
@@ -329,8 +334,7 @@
 
         <programlisting>
   alias make=mingw32-make
-  PS1='MinGW: \W \$ '
-  </programlisting>
+  PS1='MinGW: \W \$ '</programlisting>
 
         <para>(This split is necessary due to the way Bash works.)</para>
 


_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits

Reply via email to