[doc] working makefiles, configure

Ensure that autoconf and automake can build the docs, and are
distributing it properly.

Still one issue: if we detect doxygen and sphinx on configure, we
rebuild the docs, even if the user is using a distributed release.
4 jobs for sphinx-breathe in 4 minutes and 36 seconds