diff options
Diffstat (limited to 'dist.sh')
-rwxr-xr-x | dist.sh | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -71,6 +71,7 @@ if [ $rebuild = y ]; then rm -rf $out_root/libodb-mysql/* rm -rf $out_root/libodb-tracer/* rm -rf $out_root/libodb-boost/* + rm -rf $out_root/libodb-qt/* rm -rf $out_root/odb-tests/* $out_root/odb-tests-* rm -rf $out_root/odb-examples/* $out_root/odb-examples-* @@ -86,6 +87,7 @@ mkdir -p $out_root/libodb mkdir -p $out_root/libodb-mysql mkdir -p $out_root/libodb-tracer mkdir -p $out_root/libodb-boost +mkdir -p $out_root/libodb-qt mkdir -p $out_root/odb-tests mkdir -p $out_root/odb-examples @@ -226,6 +228,26 @@ cp $out_root/libodb-boost/libodb-boost-$ver.zip $out_root/pack/ cp $out_root/libodb-boost/libodb-boost-$ver.tar.gz $out_root/pack/ cp $out_root/libodb-boost/libodb-boost-$ver.tar.bz2 $out_root/pack/ +# Build libodb-qt +# +make -C $src_root/libodb-qt dist dist_prefix=$out_root/libodb-qt + +cd $out_root/libodb-qt + +if [ $rebuild = y ]; then + ./bootstrap + ./configure --with-libodb=../libodb CXXFLAGS="$CXXFLAGS" +fi + +make -j 8 +make dist + +cd $wd + +cp $out_root/libodb-qt/libodb-qt-$ver.zip $out_root/pack/ +cp $out_root/libodb-qt/libodb-qt-$ver.tar.gz $out_root/pack/ +cp $out_root/libodb-qt/libodb-qt-$ver.tar.bz2 $out_root/pack/ + # Build odb-tests # make -C $src_root/tests-mysql -f $src_root/tests/makefile dist \ @@ -252,6 +274,7 @@ for d in $db; do --with-libodb-tracer=../libodb-tracer \ --with-libodb-$d=../libodb-$d \ --with-libodb-boost=../libodb-boost \ +--with-libodb-qt=../libodb-qt \ CXXFLAGS="$CXXFLAGS" \ ODB=$odb fi @@ -298,6 +321,7 @@ for d in $db; do --with-libodb=../libodb \ --with-libodb-$d=../libodb-$d \ --with-libodb-boost=../libodb-boost \ +--with-libodb-qt=../libodb-qt \ CXXFLAGS="$CXXFLAGS" \ ODB=$odb fi |