make PocoDoc work again

This commit is contained in:
Guenter Obiltschnig 2013-01-12 00:12:05 +01:00
parent b16786fb54
commit 6f2224d729
3 changed files with 38 additions and 10 deletions

View File

@ -34,7 +34,19 @@
-I/usr/local/mysql/include,
-D_DEBUG,
-E,
-C
-C,
-DFoundation_API=,
-DXML_API=,
-DJSON_API=,
-DUtil_API=,
-DNet_API=,
-DCrypto_API=,
-DNetSSL_API=,
-DZip_API=,
-DData_API=,
-DSQLite_API=,
-DMySQL_API=,
-DODBC_API=
</options>
<path></path>
<usePipe>true</usePipe>

View File

@ -36,7 +36,19 @@
-I/usr/local/mysql/include,
-D_DEBUG,
-E,
-C
-C,
-DFoundation_API=,
-DXML_API=,
-DJSON_API=,
-DUtil_API=,
-DNet_API=,
-DCrypto_API=,
-DNetSSL_API=,
-DZip_API=,
-DData_API=,
-DSQLite_API=,
-DMySQL_API=,
-DODBC_API=
</options>
<path></path>
<usePipe>true</usePipe>

View File

@ -64,13 +64,6 @@ release=$version$tag
#
echo "Building tools"
osname=`uname -s | tr ' ' '_'`
osarch=`uname -m | tr ' ' '_'`
if [ $osname = "Darwin" ] ; then
archpath=`dirname stage/tools/PocoDoc/bin/Darwin/*/PocoDoc`
osarch=`basename $archpath`
fi
tools=$POCO_BASE/stage/tools
rm -rf $tools
@ -80,8 +73,19 @@ mkrelease -o $tools $version CppParser PocoDoc
cd $tools
./configure --no-tests --no-samples
make -s -j8
export PATH=$tools/PocoDoc/bin/$osname/$osarch:$PATH
cd $POCO_BASE
osname=`uname -s | tr ' ' '_'`
osarch=`uname -m | tr ' ' '_'`
if [ $osname = "Darwin" ] ; then
archpath=`dirname stage/tools/PocoDoc/bin/Darwin/*/PocoDoc`
osarch=`basename $archpath`
fi
export PATH=$tools/PocoDoc/bin/$osname/$osarch:$PATH
echo PATH=$PATH
echo "Building documentation $release (using $docConfig)"
mkdocumentation $reltag $relspec -C $docConfig -v $version