Author: wyoung
Date: Tue Jun 26 04:32:18 2007
New Revision: 1612

URL: http://svn.gna.org/viewcvs/mysqlpp?rev=1612&view=rev
Log:
Expanded the documentation for the ssqls-pretty script, including a
discussion of the new header finding rules.

Modified:
    trunk/doc/userman/userman.dbx

Modified: trunk/doc/userman/userman.dbx
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/doc/userman/userman.dbx?rev=1612&r1=1611&r2=1612&view=diff
==============================================================================
--- trunk/doc/userman/userman.dbx (original)
+++ trunk/doc/userman/userman.dbx Tue Jun 26 04:32:18 2007
@@ -1597,12 +1597,22 @@
         <filename>doc/ssqls-pretty</filename>, like so:</para>
 
         <programlisting>
-ssqls-pretty &lt; myprog.cpp |less</programlisting>
-
-        <para>This locates the first SSQLS declaration in that file
-        and uses the C++ preprocessor to expand that macro. You
-        may have to change the script to tell it where your MySQL++
-        header files are.</para>
+doc/ssqls-pretty &lt; myprog.cpp |less</programlisting>
+
+        <para>This Perl script locates the first SSQLS declaration
+        in that file, then uses the C++ preprocessor to expand that
+        macro. (The script assumes that your system's preprocessor
+        is called <filename>cpp</filename>, and that its command line
+        interface follows Unix conventions.)</para>
+
+        <para>If you run it from the top MySQL++ directory, as shown
+        above, it will use the header files in the distribution's
+        <filename>lib</filename> subdirectory. Otherwise, it
+        assumes the MySQL++ headers are in their default location,
+        <filename>/usr/include/mysql++</filename>. If you want to
+        use headers in some other location, you'll need to change
+        the directory name in <command>-I</command> flag at the top
+        of the script.</para>
     </sect2>
 
 


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

Reply via email to