Author: wyoung
Date: Thu Dec 15 16:08:02 2005
New Revision: 1156

URL: http://svn.gna.org/viewcvs/mysqlpp?rev=1156&view=rev
Log:
Extracted the several 'bakefile' calls from bootstrap into a new mkbf
script, which can be called repeatedly for the various target project
and make files we need.

Added:
    branches/v2.1-bakefile/mkbf   (with props)
Modified:
    branches/v2.1-bakefile/bootstrap

Modified: branches/v2.1-bakefile/bootstrap
URL: 
http://svn.gna.org/viewcvs/mysqlpp/branches/v2.1-bakefile/bootstrap?rev=1156&r1=1155&r2=1156&view=diff
==============================================================================
--- branches/v2.1-bakefile/bootstrap (original)
+++ branches/v2.1-bakefile/bootstrap Thu Dec 15 16:08:02 2005
@@ -10,9 +10,8 @@
 set -x
 
 bakefilize &&
-       bakefile -f autoconf mysql++.bkl &&
-       bakefile -f autoconf lib/lib.bkl &&
-       bakefile -f autoconf examples/examples.bkl &&
+       ./mkbf autoconf &&
+       ./mkbf msvc6prj &&
        autoreconf -i &&
        aclocal -I config &&
        autoheader &&
@@ -20,5 +19,5 @@
        ./reconf $* &&
        ( cd lib ; make custom.h )
 
-#! Add bakefile calls to generate simple GCC makefile (for examples
-#! dir in RPM) and VC++ project files.  Also consider MinGW support.
+#! Add bakefile calls to generate simple GCC makefile, for examples
+#! dir in RPM.  Also consider MinGW support.

Added: branches/v2.1-bakefile/mkbf
URL: 
http://svn.gna.org/viewcvs/mysqlpp/branches/v2.1-bakefile/mkbf?rev=1156&view=auto
==============================================================================
--- branches/v2.1-bakefile/mkbf (added)
+++ branches/v2.1-bakefile/mkbf Thu Dec 15 16:08:02 2005
@@ -1,0 +1,15 @@
+#!/bin/sh
+if [ $# -lt 1 ]
+then
+       echo usage: mkbf format
+       echo
+       echo "   Runs bakefile with the given -f argument for this"
+       echo "   project's various Bakefiles."
+       echo
+       exit 1
+fi
+
+bakefile -f $1 mysql++.bkl &&
+               bakefile -f $1 lib/lib.bkl &&
+               bakefile -f $1 examples/examples.bkl
+

Propchange: branches/v2.1-bakefile/mkbf
------------------------------------------------------------------------------
    svn:executable = *


Reply via email to