mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 00:02:03 +02:00
docs: fixed build_lcl_docs
git-svn-id: branches/fixes_2_0@60956 -
This commit is contained in:
parent
69c1c32755
commit
322d482ec2
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -5766,7 +5766,6 @@ docs/html/build_chm.bat svneol=native#text/x-msdos-program
|
||||
docs/html/build_chm.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_lcl_chm.sh svneol=native#text/plain
|
||||
docs/html/build_lcl_docs.lpi svneol=native#text/plain
|
||||
docs/html/build_lcl_docs.lpr svneol=native#text/plain
|
||||
docs/html/fpdoc.css svneol=native#text/css
|
||||
|
@ -1,28 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
# basic script to do an lcl.chm build. Marco van de Voort dec 2011
|
||||
|
||||
# assumes a fpcdocs checkout where "fixdocs.sh" has been successfully run.
|
||||
# on 1.7GHz Core2 laptop single thread 6:26 minutes. Don't be impatient :-)
|
||||
|
||||
set -e
|
||||
|
||||
# set to path to FPC docs dir. Default assume it is on the same level as the lazarus checkout
|
||||
if [ -z "$FPCDocDir" ]; then
|
||||
FPCDocDir=../../../fpcdocs
|
||||
fi
|
||||
FPCDocDirEXP=$(cd "$FPCDocDir" ; pwd)
|
||||
|
||||
if [ -d "$FPCDocDirEXP" ]
|
||||
then
|
||||
echo FPCDOCS dir is $FPCDocDirEXP
|
||||
else
|
||||
echo FPCDOCS dir $FPCDocDir expanded to $FPCDocDirEXP and was not found.
|
||||
exit 1
|
||||
fi
|
||||
|
||||
export HTMLFMT=chm
|
||||
bash build_lazutils_html.sh fpdoc `pwd`/locallclfooter.xml $FPCDocDirEXP 1>lazutilsoutput.log 2>lazutilserror.log
|
||||
bash build_lcl_html.sh fpdoc `pwd`/locallclfooter.xml $FPCDocDirEXP 1>lcloutput.log 2>lclerror.log
|
||||
|
||||
# end.
|
||||
|
@ -9,8 +9,8 @@ program update_lcl_docs;
|
||||
{$ENDIF}
|
||||
|
||||
uses
|
||||
Classes, Sysutils, GetOpts, LazFileUtils, FileUtil, UTF8Process, LazUtilities,
|
||||
Process;
|
||||
Classes, Sysutils, GetOpts, Process,
|
||||
LazFileUtils, FileUtil, UTF8Process, LazUtilities, LazStringUtils;
|
||||
|
||||
var
|
||||
DefaultFPDocExe: string = 'fpdoc';
|
||||
|
Loading…
Reference in New Issue
Block a user