* ready to run script to generate LCL.

git-svn-id: trunk@34498 -
This commit is contained in:
marco 2011-12-29 15:59:45 +00:00
parent 96654d4b05
commit 709ab6984f
2 changed files with 21 additions and 0 deletions

1
.gitattributes vendored
View File

@ -3090,6 +3090,7 @@ 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_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/build_lcl_html.sh svneol=native#text/plain

View File

@ -0,0 +1,20 @@
#!/usr/bin/env bash
# basic script to do a lcl.chm build. Marco van de Voort dec 2011
# assumes a fpcdocs checkout where "fixdocs.sh" has been succesfully run.
# on 1.7GHz Core2 laptop single thread 6:26 minutes. Don't be impatient :-)
# set to path to FPC docs dir. Default assume it is on the same level as the lazarus checkout
FPCDIR=../../../fpcdocs
FPCDIREXP=`cd $FPCDIR ; pwd`
if [ -d "$FPCDIREXP" ]
then
echo FPCDOCS dir is $FPCDIREXP
else
echo FPCDOCS dir $FPCDIR expanded to $FPCDIREXP and was not found.
exit 1
fi
export HTMLFMT=chm
sh build_lcl_html.sh fpdoc `pwd`/locallclfooter.xml $FPCDIREXP 1>std1.txt 2>err2.txt