Check that haddock docs build completed before uploading (fixes #119).
Merge pull request #129 from komadori/issue119

Check that haddock docs build completed before uploading (fixes #119).