mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-24 17:30:44 +02:00
PocoDoc - merge changes from macchina.io to allow for insertion of custom HTML into generated pages
This commit is contained in:
@@ -30,7 +30,7 @@ make=make
|
||||
include=`dirname $0`
|
||||
build=$POCO_BASE/stage/docbuild
|
||||
dist=$POCO_BASE/releases
|
||||
docConfig=$POCO_BASE/PocoDoc/cfg/mkdocumentation.xml
|
||||
docConfig=""
|
||||
read version <$POCO_BASE/VERSION
|
||||
|
||||
osname=`uname -s | tr ' ' '_'`
|
||||
@@ -57,7 +57,7 @@ do
|
||||
shift
|
||||
elif [ "$1" = "-C" ] ; then
|
||||
shift
|
||||
docConfig=$1
|
||||
docConfig="$docConfig --config=$1"
|
||||
shift
|
||||
elif [ "$1" = "-v" ] ; then
|
||||
shift
|
||||
@@ -69,6 +69,10 @@ do
|
||||
fi
|
||||
done
|
||||
|
||||
if [ -z "$docConfig" ] ; then
|
||||
docConfig=$POCO_BASE/PocoDoc/cfg/mkdocumentation.xml
|
||||
fi
|
||||
|
||||
if [ "$specfile" != "" ] ; then
|
||||
while read c
|
||||
do
|
||||
@@ -130,8 +134,7 @@ echo "PocoDoc.output=$docPath" >>$build/PocoDoc.ini
|
||||
echo "PocoDoc.version=$docVersion" >> $build/PocoDoc.ini
|
||||
echo "Includes=$includes" >> $build/PocoDoc.ini
|
||||
|
||||
echo "PocoDoc --config=$docConfig --config=$build/PocoDoc.ini"
|
||||
PocoDoc --config=$docConfig --config=$build/PocoDoc.ini
|
||||
PocoDoc $docConfig --config=$build/PocoDoc.ini
|
||||
|
||||
cd $dist
|
||||
|
||||
|
||||
Reference in New Issue
Block a user