dist: fix support for doc/doxygen-doc being a symlink

make dist works when building out-of-source if $srcdir/doc/doxygen-doc
is a symlink to builddir/doc/doxygen-doc.
But it actually fails to copy the doxygen-doc tree because it
doesn't dereference the symlink. Fix that.