mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-06 15:18:16 +02:00
docs: clean up
git-svn-id: trunk@50688 -
This commit is contained in:
parent
287c484130
commit
f6bb57ef02
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -4621,7 +4621,6 @@ docs/html/Makefile svneol=native#text/plain
|
||||
docs/html/README.txt svneol=native#text/plain
|
||||
docs/html/build_chm.bat svneol=native#text/x-msdos-program
|
||||
docs/html/build_chm.sh svneol=native#text/plain
|
||||
docs/html/build_gtkintf_html.sh svneol=native#text/plain
|
||||
docs/html/build_html.bat svneol=native#text/x-msdos-program
|
||||
docs/html/build_html.sh svneol=native#text/plain
|
||||
docs/html/build_lazutils_html.sh svneol=native#text/plain
|
||||
|
@ -1,51 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
# Author: Mattias Gaertner
|
||||
#
|
||||
# Creates the fpdoc HTML output for the gtk interface
|
||||
|
||||
set -e
|
||||
|
||||
FPDoc=$1
|
||||
if [ -z $FPDoc ]; then
|
||||
FPDoc=fpdoc
|
||||
fi
|
||||
|
||||
PackageName=gtkinterface
|
||||
XMLSrcDir=../xml/lcl/interfaces/gtk/
|
||||
PasSrcDir=../../lcl/interfaces/gtk/
|
||||
InputFileList=inputfile.txt
|
||||
|
||||
# create output directory
|
||||
mkdir -p $PackageName
|
||||
|
||||
# create unit list
|
||||
cd $PasSrcDir
|
||||
UnitList=`echo *.pp *.pas | sed -e 's/\*.*\b//g'`
|
||||
cd -
|
||||
|
||||
# create description file list
|
||||
DescrFiles=''
|
||||
for unit in $UnitList; do
|
||||
ShortFile=${unit%.pp}
|
||||
ShortFile=${ShortFile%.pas}
|
||||
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 -dGTK1 >> $CurInputFileList
|
||||
done
|
||||
|
||||
cd $PackageName
|
||||
$FPDoc $DescrFiles --input=@$InputFileList --content=$PackageName.cnt \
|
||||
--import=../lcl/lcl.cnt,../lcl/ --package=$PackageName \
|
||||
--format=html
|
||||
cd -
|
||||
|
||||
# --output=lcl/interfaces/gtk
|
||||
|
||||
# end.
|
||||
|
Loading…
Reference in New Issue
Block a user