# Pass in DESTDIR to remove need for chkconfig or install_initd
make install DESTDIR=${INSTALL_ROOT}/

if ! is_depends_enabled pyqt $SPELL; then
        rm -f "/usr/bin/hp-print"
        rm -f "/usr/bin/hp-toolbox"
        rm -f "/usr/share/hplip/print"
        rm -f "/usr/share/hplip/toolbox"
        rm -f "/usr/share/applications/hplip.desktop"
        rm -f "/usr/lib/menu/hplip"
fi
