mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-16 15:01:15 +02:00
Align mkdoc scripts with new PocoDoc configuration file.
Cleanup mkrel scripts
This commit is contained in:
parent
4d2dac9237
commit
fb23b89c4e
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#! /bin/bash
|
||||||
#
|
#
|
||||||
# mkdoc
|
# mkdoc
|
||||||
#
|
#
|
||||||
|
@ -41,7 +41,7 @@ specfile=""
|
|||||||
tag=""
|
tag=""
|
||||||
config=""
|
config=""
|
||||||
|
|
||||||
while [ "$1" != "" ] ;
|
while [ "$1" != "" ] ;
|
||||||
do
|
do
|
||||||
if [ "$1" = "-f" ] ; then
|
if [ "$1" = "-f" ] ; then
|
||||||
shift
|
shift
|
||||||
@ -117,6 +117,13 @@ for inc in `find $build -name include -print` ; do
|
|||||||
includes="$includes,-I$inc"
|
includes="$includes,-I$inc"
|
||||||
done
|
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 "PocoBuild=$build" >>$build/PocoDoc.ini
|
||||||
echo "PocoBase=$POCO_BASE" >>$build/PocoDoc.ini
|
echo "PocoBase=$POCO_BASE" >>$build/PocoDoc.ini
|
||||||
echo "PocoDoc.output=$docPath" >>$build/PocoDoc.ini
|
echo "PocoDoc.output=$docPath" >>$build/PocoDoc.ini
|
||||||
|
@ -34,7 +34,7 @@ esac
|
|||||||
label=""
|
label=""
|
||||||
spec=""
|
spec=""
|
||||||
lineEndConv=""
|
lineEndConv=""
|
||||||
while [ "$1" != "" ] ;
|
while [ "$1" != "" ] ;
|
||||||
do
|
do
|
||||||
if [ "$1" = "-l" ] ; then
|
if [ "$1" = "-l" ] ; then
|
||||||
shift
|
shift
|
||||||
|
@ -25,7 +25,7 @@ output=""
|
|||||||
lineEndConv=""
|
lineEndConv=""
|
||||||
licensingDep=""
|
licensingDep=""
|
||||||
|
|
||||||
while [ "$1" != "" ] ;
|
while [ "$1" != "" ] ;
|
||||||
do
|
do
|
||||||
if [ "$1" = "-i" ] ; then
|
if [ "$1" = "-i" ] ; then
|
||||||
shift
|
shift
|
||||||
|
Loading…
x
Reference in New Issue
Block a user