diff --git a/.gitattributes b/.gitattributes index edd32b1ff3..6f529e3cd9 100644 --- a/.gitattributes +++ b/.gitattributes @@ -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 diff --git a/docs/html/build_lcl_chm.sh b/docs/html/build_lcl_chm.sh new file mode 100644 index 0000000000..8ff328a316 --- /dev/null +++ b/docs/html/build_lcl_chm.sh @@ -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