mkdir -p images
chmod +x ./bin/mocha.js
case " ${DEB_BUILD_PROFILES:-} " in
  *" nodoc "*) ;;
  *)
    help2man -n 'simple, flexible, fun test framework' --no-info ./bin/mocha.js > mocha.1
    perl -i -pe 's/(mocha)\.js/$1/ig' mocha.1
    ;;
esac
