[build] simplify Doxygen test based on Feri's input
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>