source: gs2-extensions/open-office/trunk/COMPILE-INSTALL.sh@ 22204

Last change on this file since 22204 was 22204, checked in by davidb, 12 years ago

Initial pass at extension that uses OpenOffice to convert documents to HTML or PDF, for subsequent processing by Greenstone

File size: 549 bytes
Line 
1#!/bin/bash
2
3
4source setup.bash
5
6export JOD_CONVERTER=jodconverter-core-3.0-beta-3
7
8
9if [ "x$GEXTOOFFICE" != "x" ] ; then
10 echo Compiling Code
11
12 pushd "$GEXTOOFFICE/build-srcpack/packages"
13
14 ./COMPILE-INSTALL.sh
15
16 popd
17
18 if [ ! -d lib/java ] ; then
19 echo ""
20 echo "Creating lib/java"
21 mkdir -p lib/java
22 fi
23
24 echo ""
25 echo "Installing jodconverter.jar into lib/java"
26 /bin/cp -r $GEXTOOFFICE/build-srcpack/packages/$JOD_CONVERTER/jodconverter.jar lib/java/.
27
28
29else
30 echo "Error: Environment variable GEXTOOFICE is not set"
31fi
32
Note: See TracBrowser for help on using the repository browser.