pushd "${SRCDIR}/abbuild"
	abinfo "Building and installing documentation"
	make html
	mkdir -vp "${PKGDIR}/usr/share/doc/libteam"
	cp -vra doc/api "${PKGDIR}/usr/share/doc/libteam/"
popd

pushd "${SRCDIR}"
	abinfo "Installing teamd systemd service"
	install -Dvm644 "teamd/redhat/systemd/teamd@.service" "${PKGDIR}/usr/lib/systemd/system/teamd@.service"
	abinfo "Installing teamd dbus system conf"
	install -Dvm644 "teamd/dbus/teamd.conf" "${PKGDIR}/usr/share/dbus-1/system.d/teamd.conf"
	abinfo "Installing example configurations"
	cp -vra teamd/example_configs "${PKGDIR}/usr/share/doc/libteam/"
popd
