Changeset 18812


Ignore:
Timestamp:
2009-03-26T09:50:24+13:00 (13 years ago)
Author:
oranfry
Message:

more changes to the generate-pdf.sh script to make the last changes backwards-compatible

File:
1 edited

Legend:

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

    r18747 r18812  
    5151fi
    5252
     53#show what manuals and languages will be used
    5354echo "Manuals: $manuals"
    5455echo "Languages: $langs"
    5556echo
    5657
     58#do it
    5759for l in $langs; do
    5860
    59     if [ ! -d $output_dir/$l ]; then         
     61    if [ ! -d $output_dir/$l ]; then
    6062          mkdir $output_dir/$l
    6163    fi
     
    6567       
    6668    for m in $manuals; do
     69        #hack to preserve old way of specifying manuals
     70        if [ "$m" == "u" ]; then m=User;
     71        elif [ "$m" == "d" ]; then m=Develop;
     72        elif [ "$m" == "i" ]; then m=Install;
     73        elif [ "$m" == "p" ]; then m=Paper; fi
     74
    6775        echo -n "Processing the $m manual in $l..."
    6876        $fop_dir/fop.sh -c $processing_dir/fop-fonts/userconfig.xml -q -xsl $processing_dir/xml-to-pdf.xsl -xml $source_dir/$l/"$m"_"$l".xml -pdf $output_dir/$l/pdf/"$m"_"$l".pdf
Note: See TracChangeset for help on using the changeset viewer.