abinfo "Generating swww doc ..."
"${SRCDIR}"/doc/gen.sh

abinfo "Installing swww shell completions ..."
install -Dvm644 "${SRCDIR}"/completions/swww.bash "${PKGDIR}"/usr/share/bash-completion/completions/swww
install -Dvm644 "${SRCDIR}"/completions/swww.fish -t "${PKGDIR}"/usr/share/fish/vendor_completions.d/
install -Dvm644 "${SRCDIR}"/completions/_swww -t "${PKGDIR}"/usr/share/zsh/site-functions/
install -Dvm644 "${SRCDIR}"/completions/swww.elv -t "${PKGDIR}"/usr/share/elvish/lib/

abinfo "Installing swww manpage"
install -Dvm644 "${SRCDIR}"/doc/generated/*.1 -t "${PKGDIR}"/usr/share/man/man1/
