abinfo "Generating man pages ..."
mkdir -pv "$PKGDIR"/usr/share/man/man1
for i in mkdepthcharge depthchargectl; do
	rst2man $i.rst > $i.1
	cp -v $i.1 "$PKGDIR"/usr/share/man/man1/
done

abinfo "Installing blessing systemd unit ..."
mkdir -pv "$PKGDIR"/usr/lib/systemd/system
cp -v "$SRCDIR"/systemd/depthchargectl-bless.service "$PKGDIR"/usr/lib/systemd/system/

abinfo "Installing bash completion files ..."
mkdir -pv "$PKGDIR"/usr/share/bash-completion/completions/
cp -v "$SRCDIR"/completions/*.bash "$PKGDIR"/usr/share/bash-completion/completions/
