#!/bin/sh IN=$1 tar -zxvf $IN || exit; rm -fR POE-Component-IKC mv -v `basename $IN .tar.gz` POE-Component-IKC cd POE-Component-IKC mkdir HTML for n in *.pod IKC/*.pm ; do pod2html --podpath=. --infile=$n >HTML/`basename $n | sed -e 's/\(pod\|pm\)/html/'` done ln -s IKC.html HTML/index.html cd ..