Last change
on this file since 13782 was 13782, checked in by lh92, 17 years ago |
modified shell scripts
|
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
691 bytes
|
Rev | Line | |
---|
[13632] | 1 | #!/bin/sh
|
---|
| 2 |
|
---|
[13782] | 3 | top_dir=`pwd`
|
---|
| 4 | shared_dir=`pwd`/../shared
|
---|
| 5 | source_dir=`pwd`/xml-source
|
---|
| 6 | processing_dir=`pwd`/processing
|
---|
| 7 | output_dir=`pwd`/build
|
---|
| 8 | fop_dir="$shared_dir/fop"
|
---|
| 9 | export CLASSPATH=$CLASSPATH:$shared_dir:$fop_dir/build/fop.jar:$fop_dir/lib
|
---|
[13632] | 10 |
|
---|
[13782] | 11 | if [ ! -d $output_dir ]; then
|
---|
| 12 | mkdir $output_dir
|
---|
[13632] | 13 | fi
|
---|
| 14 |
|
---|
[13782] | 15 | langs="en " #fr es ru
|
---|
| 16 | manuals="Develop Install Paper" #User
|
---|
[13647] | 17 |
|
---|
[13782] | 18 | for l in $langs; do
|
---|
| 19 | echo "Processing $l version"
|
---|
| 20 | if [ ! -d $output_dir/$l ]; then
|
---|
| 21 | mkdir $output_dir/$l
|
---|
| 22 | fi
|
---|
| 23 | mkdir $output_dir/$l/pdf
|
---|
| 24 |
|
---|
| 25 | for m in $manuals; do
|
---|
| 26 | $fop_dir/fop.sh -q -xsl $processing_dir/xml-to-pdf.xsl -xml $source_dir/$l/"$m"_"$l".xml -pdf $output_dir/$l/pdf/"$m"_"$l".pdf
|
---|
| 27 | done
|
---|
| 28 | done
|
---|
[13647] | 29 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.