Changeset 13881 for trunk/gsdl-documentation/manuals/generate-pdf.sh
- Timestamp:
- 2007-02-09T10:35:49+13:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl-documentation/manuals/generate-pdf.sh
r13864 r13881 16 16 manuals="Paper User Develop Install" 17 17 18 echo -e "choose a manual to work with: \n 'all' for all the manuals\n 'u' for the User's Guide\n 'd' for the Developer's Guide\n 'i' for the Installer's Guide\n 'p' for From Paper to Collection" 19 read cmd 20 21 22 if [ $cmd = 'u' ]; then 23 manuals="User" 24 fi 25 if [ $cmd = 'd' ]; then 26 manuals="Develop" 27 fi 28 if [ $cmd = 'i' ]; then 29 manuals="Install" 30 fi 31 if [ $cmd = 'p' ]; then 32 manuals="Paper" 33 fi 34 35 36 echo -e "choose a language to work with: \n all, en, fr, es, or ru" 37 read cmd 38 if [ $cmd != 'all' ]; then 39 langs=$cmd 40 fi 41 42 18 43 for l in $langs; do 19 echo "Processing $l version" 44 20 45 if [ ! -d $output_dir/$l ]; then 21 mkdir $output_dir/$l46 mkdir $output_dir/$l 22 47 fi 23 mkdir $output_dir/$l/pdf 24 25 for m in $manuals; do 48 if [ ! -d $output_dir/$l/pdf ]; then 49 mkdir $output_dir/$l/pdf 50 fi 51 52 for m in $manuals; do 53 echo -e "\nprocessing the $m manual in $l" 26 54 $fop_dir/fop.sh -c $shared_dir/fop/conf/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 55 echo -e "done!\n" 27 56 done 28 57 done
Note:
See TracChangeset
for help on using the changeset viewer.