abinfo "Building tgt ..."
make \
    ISCSI_RDMA=1 \
    SD_NOTIFY=1
# FIXME: We do not currently ship Ceph or GlusterFS.
#    CEPH_RBD=1 \
#    GLFS_BD=1 \

abinfo "Installing tgt ..."
make install \
    PREFIX="$PKGDIR"/usr \
    sbindir="$PKGDIR"/usr/bin \
    sysconfdir="$PKGDIR"/etc

abinfo "Installing systemd unit ..."
install -Dvm644 "$SRCDIR"/scripts/tgtd.service \
    "$PKGDIR"/usr/lib/systemd/system/tgtd.service

abinfo "Removing HTML documentation per the Styling Manual ..."
rm -rv "$PKGDIR"/usr/share/doc/tgt/html/
