X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gen_online_help.sh;h=73062f15def393d4213cc064821264335d5f1b8f;hb=2e274a95f271133237040d283b45eddc4c5a5518;hp=768d1f4a89a43cf7c6ba4f87574f3b5ebaeadb56;hpb=d13fac64ecc2e9e224fd77df8c7c69f5fe2b5621;p=gosa.git diff --git a/gen_online_help.sh b/gen_online_help.sh index 768d1f4a8..73062f15d 100755 --- a/gen_online_help.sh +++ b/gen_online_help.sh @@ -1,7 +1,7 @@ #!/bin/sh # Defaults for Debian -CNV=latex2html +CNV=`pwd`/contrib/latex2html LYX=lyx-qt # Sanity checks @@ -25,12 +25,12 @@ for lang in *; do [ ! -d "$lang" ] && continue pushd . &> /dev/null - echo -n "Processing language $lang..." + echo "Processing language $lang..." cd $lang/lyx-source for source in *.lyx; do $LYX -e latex $source; d=../html/${source%%\.*}/ > /dev/null - [ -d $d ] || mkdir -p $d && rm -r $d/* + [ -d $d ] || mkdir -p $d && rm -r $d/* &> /dev/null $CNV -no_navigation -dir $d ${source%%\.*}.tex > /dev/null done @@ -38,5 +38,5 @@ for lang in *; do done popd &> /dev/null - +echo exit 0