added parameters for footer and rtl content

git-svn-id: trunk@7196 -
This commit is contained in:
vincents 2005-05-21 20:24:30 +00:00
parent d8322892c3
commit 938489fd4b
2 changed files with 13 additions and 4 deletions

View File

@ -4,7 +4,6 @@
#
# Creates the fpdoc HTML output for the gtk interface
set -x
set -e
FPDoc=$1

View File

@ -4,13 +4,15 @@
#
# Creates the fpdoc HTML output for the LCL
set -x
# set -x
set -e
FPDoc=$1
if [ -z $FPDoc ]; then
FPDoc=fpdoc
fi
FPDocFooter=$2
RtlContent=$3
PackageName=lcl
XMLSrcDir=../xml/lcl/
@ -39,9 +41,17 @@ for unit in $UnitList; do
echo ../${PasSrcDir}$unit -Fi../${PasSrcDir}include >> $CurInputFileList
done
FPDocParams='--content=lcl.cnt --package=lcl --format=html'
if [ -n $FPDocFooter ]; then
FPDocParams="$FPDocParams --footer=$FPDocFooter"
fi
if [ -n $RtlContent ]; then
FPDocParams="$FPDocParams --import=$RtlContent,../rtl/"
fi
cd $PackageName
$FPDoc $DescrFiles --input=@$InputFileList --content=lcl.cnt --package=lcl \
--format=html
$FPDoc $DescrFiles --input=@$InputFileList $FPDocParams
cd -
# --output=lcl