doc.sh 323 Bytes
Newer Older
monty@donna.mysql.com's avatar
monty@donna.mysql.com committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#!/bin/sh

CHAR="$1"
case "$1" in 
 [uU]*) 
   CHAR=ujis 
   ;; 
 [sS]*) 
   CHAR=sjis 
   ;; 
esac 

cp -r Docs/* PKG/tmp-${CHAR}/usr/local/share/doc/mysql/
cp INSTALL-SOURCE* COPYING* MIRRORS README* PKG/tmp-${CHAR}/usr/local/share/doc/mysql/

cd PKG/tmp-${CHAR}/usr/local/share/doc/mysql/
gzip *.txt *.texi *.info *.pdf