Author: wyoung
Date: Fri Feb 29 07:34:24 2008
New Revision: 2228

URL: http://svn.gna.org/viewcvs/mysqlpp?rev=2228&view=rev
Log:
Added 'nomaint' bootstrap target, used by new 'dist' handling

Modified:
    trunk/HACKERS.txt
    trunk/bootstrap

Modified: trunk/HACKERS.txt
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/HACKERS.txt?rev=2228&r1=2227&r2=2228&view=diff
==============================================================================
--- trunk/HACKERS.txt (original)
+++ trunk/HACKERS.txt Fri Feb 29 07:34:24 2008
@@ -174,6 +174,10 @@
     nolib   The generated Makefiles and project files won't try to build
             the MySQL++ library.
 
+    nomaint Turn off "maintainer mode" stuff in the build.  These are
+            features used only by those building MySQL++ from svn.  The
+            'dist' build target uses this when creating the tarball.
+
     noopt   Compiler optimization will be turned off.  (This currently
             has no effect on MinGW or Visual C++.)
 

Modified: trunk/bootstrap
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/bootstrap?rev=2228&r1=2227&r2=2228&view=diff
==============================================================================
--- trunk/bootstrap (original)
+++ trunk/bootstrap Fri Feb 29 07:34:24 2008
@@ -2,6 +2,7 @@
 
 ARGS=1
 BF_OPTIONS=
+MAINT_FLAGS="--cache-file=config.cache --enable-maintainer-mode"
 while [ $ARGS != 0 ]
 do
        case "$1" in
@@ -22,6 +23,11 @@
 
                nolib)
                        BF_OPTIONS="-DBUILDLIBRARY=no $BF_OPTIONS"
+                       shift
+                       ;;
+
+               nomaint)
+                       MAINT_FLAGS=
                        shift
                        ;;
 
@@ -82,7 +88,7 @@
                aclocal -I config -I $BAKEFILE_M4 &&
                autoheader &&
                autoconf &&
-               ./configure --cache-file=config.cache --enable-maintainer-mode 
$* &&
+               ./configure $MAINT_FLAGS $* &&
                make lib/querydef.h lib/ssqls.h &&
                set +x &&
                success=awyeah


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

Reply via email to