Align mkdoc scripts with new PocoDoc configuration file.

Cleanup mkrel scripts
This commit is contained in:
zosrothko 2017-11-08 07:58:43 +01:00
parent 4d2dac9237
commit fb23b89c4e
4 changed files with 11 additions and 4 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
#! /bin/bash
#
# mkdoc
#

View File

@ -41,7 +41,7 @@ specfile=""
tag=""
config=""
while [ "$1" != "" ] ;
while [ "$1" != "" ] ;
do
if [ "$1" = "-f" ] ; then
shift
@ -117,6 +117,13 @@ for inc in `find $build -name include -print` ; do
includes="$includes,-I$inc"
done
: ${CC:=gcc}
: ${CXX:=g++}
: ${CXXFLAGS:=-std=c++11}
echo "CC=$CC" >>$build/PocoDoc.ini
echo "CXX=$CXX" >>$build/PocoDoc.ini
echo "CXXFLAGS=$CXXFLAGS" >>$build/PocoDoc.ini
echo "PocoBuild=$build" >>$build/PocoDoc.ini
echo "PocoBase=$POCO_BASE" >>$build/PocoDoc.ini
echo "PocoDoc.output=$docPath" >>$build/PocoDoc.ini

View File

@ -34,7 +34,7 @@ esac
label=""
spec=""
lineEndConv=""
while [ "$1" != "" ] ;
while [ "$1" != "" ] ;
do
if [ "$1" = "-l" ] ; then
shift

View File

@ -25,7 +25,7 @@ output=""
lineEndConv=""
licensingDep=""
while [ "$1" != "" ] ;
while [ "$1" != "" ] ;
do
if [ "$1" = "-i" ] ; then
shift