andrej@2238: #!/bin/sh etisserant@197: etisserant@197: INKSCAPE=inkscape etisserant@197: andrej@2238: for fname in `ls *.svg`; do andrej@2238: for i in `cat $fname |grep -o -e '%%[^%]*%%'|sed 's/%//g'` andrej@2238: do andrej@2238: if [ $i.png -nt $fname ]; then andrej@2238: echo "Skip $i" andrej@2238: else andrej@2238: rm -f $i.png andrej@2238: echo "$INKSCAPE" $fname -z -e $i.png -i $i andrej@2238: "$INKSCAPE" $fname -z -e $i.png -i $i andrej@2238: fi andrej@2238: done etisserant@197: done etisserant@197: andrej@2238: cp ico024.png brz.png andrej@2238: convert -compress none ico*.png brz.ico edouard@533: rm -f ico*.png andrej@2238: andrej@2238: andrej@2238: convert -compress none poeico*.png poe.ico andrej@2238: rm -f poeico*.png andrej@2238: