instead of the following line, rm /usr/share/doc/${PF}/COPYING* /usr/share/doc/${PF}/INSTALL something like that should be used: rm "${D}"/usr/share/doc/${PF}/COPYING* "${D}"/usr/share/doc/${PF}/INSTALL
Fixed.