Run "make doc" before "make distcheck" in the nightly tarball script.

It is now necessary to have the docs built before running "make dist",
so update the nightly script to do that.