X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=utils%2Fdbdata.sh;h=51d88f8b0c8b68c81e4efce07b22d10355e01077;hb=2cb6096b0d1b5e2fe4ae6f3558eafdc6d43c5e81;hp=b0ef438ca311d2d3fc7ed520d5d70ab92a4347bf;hpb=d676db43f25d2bda9955e4f8573f7df25d856b5b;p=m17n%2Fm17n-docs.git diff --git a/utils/dbdata.sh b/utils/dbdata.sh index b0ef438..51d88f8 100755 --- a/utils/dbdata.sh +++ b/utils/dbdata.sh @@ -26,13 +26,13 @@ while [ $# -ge 1 ] ; do dir=`dirname $dir` icon="$dir/icons/$base.png" if [ -f "$icon" ] ; then - [ -f "images/icon-$base.png" ] || cp "$icon" "images/icon-$base.png" + [ -f "images/icon-$base.png" ] || convert -resize 50% "$icon" "images/icon-$base.png" fi HEADER="
" + echo "@endhtmlonly" ) else M17NDIR=/usr/share/m17n $IMDOC $FILE "$IM"" + echo "@endhtmlonly" + sed -n -e '/^;;; *@/ s/;;; *\(.*\)/\1/p' \ + -e '/^;;; *[^ @]/ s,;;; *\(.*\),\1@n,p' $FILE + echo "@htmlonly" + echo "