Is there some command which tests a tar.gz created by 'Setup.lhs sdist' by unpacking the archive to say /tmp and compiling and documenting the sources? Hackage should recommend this tool before package upload.