annotate kdiff3/doc/createpdfdoc @ 96:9000a9763f6f

Fixed problem where destination directory would be renamed or deleted during copy operation. Now if the destination directory exists only the files inside will be copied.
author joachim99
date Thu, 25 Mar 2010 20:37:37 +0000
parents fcd146072e0c
children
rev   line source
joachim99@80 1 # html2ps is from the "html2ps"-package
joachim99@80 2 # ps2pdf is part of the "ghostscript-library"-package
joachim99@69 3 for i in `find * -maxdepth 0 -type d`; do
joachim99@80 4 cd $i
joachim99@80 5 echo $i
joachim99@80 6 if [ $i != "en" ]; then
joachim99@80 7 for j in `ls ../en | grep png`; do ln -s ../en/$j $j; done
joachim99@80 8 ln -s ../en/common common
joachim99@80 9 fi
joachim99@80 10 LANG=de_DE meinproc4 --check index.docbook --stylesheet /usr/share/kde4/apps/ksgmltools2/customization/kde-nochunk.xsl
joachim99@80 11 html2ps --rcfile /usr/lib/html2ps/html2psrc -D -u -n index.html >index.ps
joachim99@80 12 ps2pdf index.ps ../kdiff3_$i.pdf
joachim99@80 13 cd ..
joachim99@69 14 done