#!/bin/sh IN=$1 PACKAGE=Units-Height-DWIM tar -zxvf $IN || exit; rm -fR $PACKAGE mv -v `basename $IN .tar.gz` $PACKAGE cd $PACKAGE mkdir HTML for n in `find . -name \*.pod -o -name \*.pm` ; do pod2html --podpath=. --infile=$n >HTML/`basename $n | sed -e 's/\(pod\|pm\)/html/'` done cd ..