Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 7e62043c05
Fetching contributors…

Cannot retrieve contributors at this time

executable file 48 lines (37 sloc) 0.781 kb
#!/bin/bash
baseDir=`dirname $0`
outputDir=${baseDir}/pdf
exclude=('figures' 'figures-dia' 'figures-source' 'latex' 'makepdfs' 'pdf' 'README')
dirContent=`ls $baseDir`
argString=""
echo $i;
for dir in $dirContent; do
if [ -n $dir ]; then
isLang=1
for i in ${exclude[@]}; do
if [ $i == $dir ]; then
isLang=0
fi
done
if [ $isLang -eq 1 ]; then
if [ "$1" = "" ]; then
argString="${argString} ${dir}"
else
for i in ${@}; do
if [ $i = $dir ]; then
argString="${argString} ${dir}"
fi
done
fi
fi
fi
done
echo "Will generate pdf for the following languages:"
echo " "$argString
mkdir -p $outputDir
echo
echo "The generation process will start now."
time ${baseDir}/latex/makepdf $argString
echo
echo
echo "Done!"
Jump to Line
Something went wrong with that request. Please try again.