summaryrefslogtreecommitdiff
path: root/help3xsl
diff options
context:
space:
mode:
Diffstat (limited to 'help3xsl')
-rwxr-xr-xhelp3xsl/makehelp.sh (renamed from help3xsl/makelocal.sh)13
-rwxr-xr-xhelp3xsl/makeonline.sh24
2 files changed, 12 insertions, 25 deletions
diff --git a/help3xsl/makelocal.sh b/help3xsl/makehelp.sh
index b455a5ba74..c2590cc745 100755
--- a/help3xsl/makelocal.sh
+++ b/help3xsl/makehelp.sh
@@ -6,16 +6,27 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+# Arguments
+
+# $1 build local or webroot help [default=yes]
+# values: yes no
+
productVersion=6.0
workDir=$(realpath '../../workdir')
langDirSource=$workDir'/HelpTranslatePartTarget'
+offline=$1
+
+if [ -z $offline ]
+then
+offline=yes
+fi
./get_hid2file.sh $productVersion $workDir
for lang in $(ls $langDirSource)
do
./get_bookmark.sh $lang $productVersion $workDir
-./get_html.sh $lang $productVersion $workDir 'yes' '/'
+./get_html.sh $lang $productVersion $workDir $offline '/'
./get_tree.sh $lang $productVersion $workDir
done
diff --git a/help3xsl/makeonline.sh b/help3xsl/makeonline.sh
deleted file mode 100755
index 90813de2e3..0000000000
--- a/help3xsl/makeonline.sh
+++ /dev/null
@@ -1,24 +0,0 @@
-#/bin/bash
-
-# This file is part of the LibreOffice project.
-#
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-
-productVersion=6.0
-workDir=$(realpath '../../workdir')
-langDirSource=$workDir'/HelpTranslatePartTarget'
-
-./get_hid2file.sh $productVersion $workDir
-
-for lang in $(ls $langDirSource)
-do
-./get_bookmark.sh $lang $productVersion $workDir
-./get_html.sh $lang $productVersion $workDir 'no' '/'
-./get_tree.sh $lang $productVersion $workDir
-done
-
-./get_media.sh 'dummy' $productVersion $workDir
-
-exit