#!/bin/sh
# post-build script for mule-2.2.2
# (1) reformat Canna's info file
# (2) remove DOC and make a symbolic link to DOC-19.28.1 (otherwise
#     pkg_create will change a hard link into a copy)

cd ${WRKSRC}/man
../src/emacs -batch -l ${FILESDIR}/cannainfo.el
rm -f ${WRKSRC}/info/canna-jp~
cd ${WRKSRC}/etc
rm -f DOC
ln -s DOC-19.28.1 DOC
