source: trunk/gsdl-documentation/tutorials/generate-workshop.sh@ 13636

Last change on this file since 13636 was 13636, checked in by kjdon, 15 years ago

shell scripts for generating tutorial html. these need updating for teh new repository structure

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 622 bytes
Line 
1#!/bin/sh
2
3if [ "$GSDLHOME" == "" ]; then
4 echo You must run \'source setup.bash\' in the top level folder of your Greenstone installation before running this script
5 exit
6fi
7
8mkdir workshop
9
10echo "processing workshop"
11
12cd workshop
13java -cp ..:$GSDLHOME/gli:$GSDLHOME/gli/classes:$GSDLHOME/perllib:../xalan.jar -DGSDLHOME=$GSDLHOME ApplyXSLT ../xml-to-workshop.xsl ../tutorial_en.xml | perl -S $GSDLHOME/gli/help/splithelpdocument.pl
14java -cp ..:$GSDLHOME/gli:$GSDLHOME/gli/classes:$GSDLHOME/perllib:../xalan.jar -DGSDLHOME=$GSDLHOME ApplyXSLT ../xml-to-one-workshop.xsl ../tutorial_en.xml > workshop.html
15cd ..
16
17
18
19
Note: See TracBrowser for help on using the repository browser.