mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-16 07:49:33 +02:00
Removes old html doc script.
git-svn-id: trunk@14963 -
This commit is contained in:
parent
95bf12f9c6
commit
dc17aa5243
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -1349,7 +1349,6 @@ docs/html/localfclfooter.xml svneol=native#text/plain
|
||||
docs/html/locallclfooter.xml svneol=native#text/plain
|
||||
docs/html/localrtlfooter.xml svneol=native#text/plain
|
||||
docs/html/sourceforgefooter.xml svneol=native#text/xml
|
||||
docs/html/update_lcl_html.sh -text svneol=native#mime-type%3Dtext/plain
|
||||
docs/images/laztitle.png -text
|
||||
docs/images/laztitle.svg -text svneol=native#image/svg%2Bxml
|
||||
docs/index.html svneol=native#text/html
|
||||
|
@ -1,60 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
# Author: Mattias Gaertner
|
||||
#
|
||||
# Creates the fpdoc HTML output for the LCL
|
||||
|
||||
#set -x
|
||||
set -e
|
||||
|
||||
FPDoc=$1
|
||||
if [ -z $FPDoc ]; then
|
||||
FPDoc=fpdoc
|
||||
fi
|
||||
FPDocFooter=$2
|
||||
FPCDocDir=$3
|
||||
|
||||
PackageName=lcl
|
||||
XMLSrcDir=../xml/lcl/
|
||||
PasSrcDir=../../lcl/
|
||||
InputFileList=inputfile.txt
|
||||
|
||||
# create output directory
|
||||
mkdir -p $PackageName
|
||||
|
||||
# create unit list
|
||||
cd $PasSrcDir
|
||||
UnitList=`echo *.pp *.pas`
|
||||
cd -
|
||||
|
||||
# create description file list
|
||||
DescrFiles=''
|
||||
for unit in $UnitList; do
|
||||
ShortFile=`echo $unit | sed -e 's/\.pp\b//g' -e 's/\.pas\b//g'`
|
||||
DescrFiles="$DescrFiles --descr=../$XMLSrcDir$ShortFile.xml"
|
||||
done
|
||||
|
||||
# create input file list
|
||||
CurInputFileList=$PackageName/$InputFileList
|
||||
rm -f $CurInputFileList
|
||||
for unit in $UnitList; do
|
||||
echo ../${PasSrcDir}$unit -Fi../${PasSrcDir}include >> $CurInputFileList
|
||||
done
|
||||
|
||||
FPDocParams="--content=lcl.xct --package=lcl --descr=../${XMLSrcDir}lcl.xml --format=html"
|
||||
if [ -n "$FPDocFooter" ]; then
|
||||
FPDocParams="$FPDocParams --footer=$FPDocFooter"
|
||||
fi
|
||||
if [ -n "$FPCDocDir" ]; then
|
||||
FPDocParams="$FPDocParams --import=$FPCDocDir/rtl.xct,../rtl/ --import=$FPCDocDir/fcl.xct,../fcl/"
|
||||
fi
|
||||
|
||||
|
||||
cd $PackageName
|
||||
$FPDoc $DescrFiles --input=@$InputFileList $FPDocParams
|
||||
cd -
|
||||
|
||||
# --output=lcl
|
||||
|
||||
# end.
|
||||
|
Loading…
Reference in New Issue
Block a user