Changeset 18754
- Timestamp:
- 2009-03-23T15:58:44+13:00 (14 years ago)
- Location:
- documentation/trunk/tutorials
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
documentation/trunk/tutorials
-
Property svn:ignore
set to
html
-
Property svn:ignore
set to
-
documentation/trunk/tutorials/generate-html.bat
- Property svn:executable deleted
-
documentation/trunk/tutorials/generate-html.sh
r13708 r18754 1 #!/bin/ sh1 #!/bin/bash 2 2 3 3 if [ "$GSDLHOME" == "" ]; then 4 echo You must run \'source setup.bash\' in the top level folder of your Greenstone installation before running this script4 echo "You must run 'source setup.bash' in the top level folder of your Greenstone installation before running this script" 5 5 exit 6 6 fi … … 12 12 output_dir=`pwd`/html 13 13 14 export CLASSPATH=$shared_dir:$GSDLHOME/gli:$GSDLHOME/gli/classes:$GSDLHOME/perllib:$shared_dir/xalan.jar 15 14 16 mkdir $output_dir 15 17 … … 17 19 18 20 echo "processing top level index" 19 java - cp $shared_dir:$GSDLHOME/gli:$GSDLHOME/gli/classes:$GSDLHOME/perllib:$shared_dir/xalan.jar -DGSDLHOME=$GSDLHOME ApplyXSLT $processing_dir/xml-to-top-index.xsl $source_dir/tutorial_en.xml > $output_dir/index.html21 java -DGSDLHOME=$GSDLHOME ApplyXSLT $processing_dir/xml-to-top-index.xsl $source_dir/tutorial_en.xml > $output_dir/index.html 20 22 21 23 echo "generating wiki index page" 22 java - cp $shared_dir:$GSDLHOME/gli:$GSDLHOME/gli/classes:$GSDLHOME/perllib:$shared_dir/xalan.jar -DGSDLHOME=$GSDLHOME ApplyXSLT $processing_dir/xml-to-wiki-index.xsl $source_dir/tutorial_en.xml > $output_dir/wiki-index.txt24 java -DGSDLHOME=$GSDLHOME ApplyXSLT $processing_dir/xml-to-wiki-index.xsl $source_dir/tutorial_en.xml > $output_dir/wiki-index.txt 23 25 24 26 for l in $langs; do … … 26 28 mkdir $output_dir/$l 27 29 cd $output_dir/$l 28 java - cp $shared_dir:$GSDLHOME/gli:$GSDLHOME/gli/classes:$GSDLHOME/perllib:$shared_dir/xalan.jar -DGSDLHOME=$GSDLHOME ApplyXSLT $processing_dir/xml-to-index.xsl $source_dir/tutorial_$l.xml > index.html29 java - cp $shared_dir:$GSDLHOME/gli:$GSDLHOME/gli/classes:$GSDLHOME/perllib:$shared_dir/xalan.jar -DGSDLHOME=$GSDLHOME ApplyXSLT $processing_dir/xml-to-one-html.xsl $source_dir/tutorial_$l.xml > all_tutorials.html30 java - cp $shared_dir:$GSDLHOME/gli:$GSDLHOME/gli/classes:$GSDLHOME/perllib:$shared_dir/xalan.jar -DGSDLHOME=$GSDLHOME ApplyXSLT $processing_dir/xml-to-many-html.xsl $source_dir/tutorial_$l.xml | perl -S $GSDLHOME/gli/help/splithelpdocument.pl30 java -DGSDLHOME=$GSDLHOME ApplyXSLT $processing_dir/xml-to-index.xsl $source_dir/tutorial_$l.xml > index.html 31 java -DGSDLHOME=$GSDLHOME ApplyXSLT $processing_dir/xml-to-one-html.xsl $source_dir/tutorial_$l.xml > all_tutorials.html 32 java -DGSDLHOME=$GSDLHOME ApplyXSLT $processing_dir/xml-to-many-html.xsl $source_dir/tutorial_$l.xml | perl -S $GSDLHOME/gli/help/splithelpdocument.pl 31 33 cd $top_dir 32 34 done -
documentation/trunk/tutorials/generate-workshop.bat
- Property svn:executable deleted
Note:
See TracChangeset
for help on using the changeset viewer.