#!/bin/sh # Recreate the doc directory. rm -rf doc mkdir doc # Compile the documentation. javadoc -quiet -private -d doc src/*.java find doc -type d -exec chmod 755 {} \; find doc -type f -exec chmod 644 {} \;