#!/bin/sh
src_root="$(dirname "$(dirname "$(readlink -f "$0")")")"
dist_root="$(readlink -f "$src_root/../dist")"

echo "###"
tar -cvzf "$dist_root/aw.fbsd-mon-helper.tgz" \
   --owner=root --group=root \
   -C "$src_root/src" \
   aw.fbsd-mon-helper

echo "==="
echo "$dist_root/aw.fbsd-mon-helper.tgz"
stat "$dist_root/aw.fbsd-mon-helper.tgz"
