Ignore:
Timestamp:
2007-01-17T11:07:01+13:00 (17 years ago)
Author:
lh92
Message:

update paths

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl-documentation/manuals/generate-pdf.sh

    r13632 r13647  
    22
    33gsdlhome=$GSDLHOME
    4 export CLASSPATH=$CLASSPATH:../packages/fop-0.20.5/build/fop.jar:../packages/fop-0.20.5/lib:../
    5 
     4shared="../shared"
     5export CLASSPATH=$CLASSPATH:$shared:$shared/fop/build/fop.jar:$shared/fop/lib
     6fop="$shared/fop"
     7processing="processing"
    68
    79if [ "$gsdlhome" == "" ]; then
     
    1214fi
    1315
     16if [ ! -d build ]; then
     17  mkdir build
     18fi
     19
     20cd build
     21
    1422echo "procesing english manuals"
     23if [ ! -d en ]; then
     24    mkdir en
     25fi
    1526cd en
    1627mkdir pdf
    1728
    18 #echo "User's manual (english)"
    19 #./../packages/fop-0.20.5/fop.sh -xsl ../xml-to-pdf.xsl -xml User_en.xml -pdf pdf/User_en.pdf
    20 echo "Developer's manual (english)"
    21 ./../packages/fop-0.20.5/fop.sh -xsl ../xml-to-pdf.xsl -xml Develop_en.xml -pdf pdf/Develop_en.pdf
    22 echo "User's manual (english)"
    23 ./../packages/fop-0.20.5/fop.sh -xsl ../xml-to-pdf.xsl -xml Install_en.xml -pdf pdf/Install_en.pdf
    24 echo "From Paper to Collection (english)"
    25 ./../packages/fop-0.20.5/fop.sh -xsl ../xml-to-pdf.xsl -xml Paper_en.xml -pdf pdf/Paper_en.pdf
    26 
     29#back to the manual directory
     30cd ..
    2731cd ..
    2832
     33pdf="build/en/pdf"
     34#echo "User's manual (english)"
     35#$fop/fop.sh -q -xsl $processing/xml-to-pdf.xsl -xml xml-source/User_en.xml -pdf $pdf/User_en.pdf
     36echo "Developer's manual (english)"
     37$fop/fop.sh -q -xsl $processing/xml-to-pdf.xsl -xml xml-source/en/Develop_en.xml -pdf $pdf/Develop_en.pdf
     38echo "Installer's manual (english)"
     39$fop/fop.sh -q -xsl $processing/xml-to-pdf.xsl -xml xml-source/en/Install_en.xml -pdf $pdf/Install_en.pdf
     40echo "From Paper to Collection (english)"
     41$fop/fop.sh -q -xsl $processing/xml-to-pdf.xsl -xml xml-source/en/Paper_en.xml -pdf $pdf/Paper_en.pdf
    2942
    30 echo ""
     43
    3144echo "procesing french manuals"
     45cd build
     46if [ ! -d fr ]; then
     47    mkdir fr
     48fi
    3249cd fr
    3350mkdir pdf
     51cd ..
     52cd ..
     53pdf="build/fr/pdf"
    3454
    3555#echo "User's manual (french)"
    36 #./../packages/fop-0.20.5/fop.sh -xsl ../xml-to-pdf.xsl -xml User_fr.xml -pdf pdf/User_fr.pdf
     56#$fop/fop.sh -q -xsl $processing/xml-to-pdf.xsl -xml xml-source/fr/User_fr.xml -pdf $pdf/User_fr.pdf
    3757echo "Developer's manual (french)"
    38 ./../packages/fop-0.20.5/fop.sh -xsl ../xml-to-pdf.xsl -xml Develop_fr.xml -pdf pdf/Develop_fr.pdf
    39 echo "User's manual (french)"
    40 ./../packages/fop-0.20.5/fop.sh -xsl ../xml-to-pdf.xsl -xml Install_fr.xml -pdf pdf/Install_fr.pdf
     58$fop/fop.sh -q -xsl $processing/xml-to-pdf.xsl -xml xml-source/fr/Develop_fr.xml -pdf $pdf/Develop_fr.pdf
     59echo "Installer's manual (french)"
     60$fop/fop.sh -q -xsl $processing/xml-to-pdf.xsl -xml xml-source/fr/Install_fr.xml -pdf $pdf/Install_fr.pdf
    4161echo "From Paper to Collection (french)"
    42 ./../packages/fop-0.20.5/fop.sh -xsl ../xml-to-pdf.xsl -xml Paper_fr.xml -pdf pdf/Paper_fr.pdf
    43 
    44 cd ..
     62$fop/fop.sh -q -xsl $processing/xml-to-pdf.xsl -xml xml-source/fr/Paper_fr.xml -pdf $pdf/Paper_fr.pdf
    4563
    4664
    47 echo ""
    4865echo "procesing spanish manuals"
     66cd build
     67if [ ! -d es ]; then
     68    mkdir es
     69fi
    4970cd es
    5071mkdir pdf
     72cd ..
     73cd ..
     74pdf="build/es/pdf"
    5175
    5276#echo "User's manual (spanish)"
    53 #./../packages/fop-0.20.5/fop.sh -xsl ../xml-to-pdf.xsl -xml User_es.xml -pdf pdf/User_es.pdf
     77#$fop/fop.sh -q -xsl $processing/xml-to-pdf.xsl -xml xml-source/es/User_es.xml -pdf $pdf/User_es.pdf
    5478echo "Developer's manual (spanish)"
    55 ./../packages/fop-0.20.5/fop.sh -xsl ../xml-to-pdf.xsl -xml Develop_es.xml -pdf pdf/Develop_es.pdf
    56 echo "User's manual (spanish)"
    57 ./../packages/fop-0.20.5/fop.sh -xsl ../xml-to-pdf.xsl -xml Install_es.xml -pdf pdf/Install_es.pdf
     79$fop/fop.sh -q -xsl $processing/xml-to-pdf.xsl -xml xml-source/es/Develop_es.xml -pdf $pdf/Develop_es.pdf
     80echo "Installer's manual (spanish)"
     81$fop/fop.sh -q -xsl $processing/xml-to-pdf.xsl -xml xml-source/es/Install_es.xml -pdf $pdf/Install_es.pdf
    5882echo "From Paper to Collection (spanish)"
    59 ./../packages/fop-0.20.5/fop.sh -xsl ../xml-to-pdf.xsl -xml Paper_es.xml -pdf pdf/Paper_es.pdf
    60 
    61 cd ..
     83$fop/fop.sh -q -xsl $processing/xml-to-pdf.xsl -xml xml-source/es/Paper_es.xml -pdf $pdf/Paper_es.pdf
    6284
    6385
    64 echo ""
    6586echo "procesing russian manuals"
     87cd build
     88if [ ! -d ru ]; then
     89    mkdir ru
     90fi
    6691cd ru
    6792mkdir pdf
    68 
     93cd ..
     94cd ..
     95pdf="build/ru/pdf"
     96#echo "User's manual (russian)"
     97#$fop/fop.sh -q -xsl $processing/xml-to-pdf.xsl -xml xml-source/ru/User_ru.xml -pdf $pdf/User_ru.pdf
     98echo "Developer's manual (russian)"
     99$fop/fop.sh -q -xsl $processing/xml-to-pdf.xsl -xml xml-source/ru/Develop_ru.xml -pdf $pdf/Develop_ru.pdf
    69100echo "User's manual (russian)"
    70 ./../packages/fop-0.20.5/fop.sh -xsl ../xml-to-pdf.xsl -xml User_ru.xml -pdf pdf/User_ru.pdf
    71 echo "Developer's manual (russian)"
    72 ./../packages/fop-0.20.5/fop.sh -xsl ../xml-to-pdf.xsl -xml Develop_ru.xml -pdf pdf/Develop_ru.pdf
    73 echo "User's manual (russian)"
    74 ./../packages/fop-0.20.5/fop.sh -xsl ../xml-to-pdf.xsl -xml Install_ru.xml -pdf pdf/Install_ru.pdf
     101$fop/fop.sh -q -xsl $processing/xml-to-pdf.xsl -xml xml-source/ru/Install_ru.xml -pdf $pdf/Install_ru.pdf
    75102echo "From Paper to Collection (russian)"
    76 ./../packages/fop-0.20.5/fop.sh -xsl ../xml-to-pdf.xsl -xml Paper_ru.xml -pdf pdf/Paper_ru.pdf
    77 
    78 cd ..
     103$fop/fop.sh -q -xsl $processing/xml-to-pdf.xsl -xml xml-source/ru/Paper_ru.xml -pdf $pdf/Paper_ru.pdf
Note: See TracChangeset for help on using the changeset viewer.