summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorYousuf Philips <philipz85@hotmail.com>2016-03-07 02:43:50 +0400
committerYousuf Philips <philipz85@hotmail.com>2016-03-11 14:18:26 +0000
commitc8c86435d40ad2ec5b0e1c5f6bdb9888445d13ab (patch)
tree079d9b3b746ad1009e54763ed514bc3c5b87b504 /helpers
parent581ea6ad44ece0d44bb062d824b3ee165bc57f20 (diff)
Helper file to package the help so it can be viewed in help viewer
Change-Id: I419d7ac89953e969d271f1ef2d82d091cd1b079c Reviewed-on: https://gerrit.libreoffice.org/22962 Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com>
Diffstat (limited to 'helpers')
-rwxr-xr-xhelpers/zip_help.sh25
1 files changed, 25 insertions, 0 deletions
diff --git a/helpers/zip_help.sh b/helpers/zip_help.sh
new file mode 100755
index 0000000000..9245491195
--- /dev/null
+++ b/helpers/zip_help.sh
@@ -0,0 +1,25 @@
+#!/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/.
+#
+
+# This script zips the various help files and moves them into the help folder so they can be properly tested in the help viewer
+
+cd ../source/
+zip -r sbasic.jar text/sbasic/
+zip -r scalc.jar text/scalc/
+zip -r schart.jar text/schart/
+zip -r sdraw.jar text/sdraw/
+zip -r shared.jar text/shared/
+zip -r simpress.jar text/simpress/
+zip -r smath.jar text/smath/
+zip -r swriter.jar text/swriter/
+
+# default location of help files for libreoffice on ubuntu
+# uncomment this and change the location accordingly
+#sudo mv -f *.jar /usr/share/libreoffice/help/en-US/
+