{"action":"created","issue":{"url":"https://api.github.com/repos/haskell/cabal/issues/2615","labels_url":"https://api.github.com/repos/haskell/cabal/issues/2615/labels{/name}","comments_url":"https://api.github.com/repos/haskell/cabal/issues/2615/comments","events_url":"https://api.github.com/repos/haskell/cabal/issues/2615/events","html_url":"https://github.com/haskell/cabal/pull/2615","id":82093727,"number":2615,"title":"Automatically run `configure` before `haddock`","user":{"login":"mtolly","id":1427698,"avatar_url":"https://avatars.githubusercontent.com/u/1427698?v=3","gravatar_id":"","url":"https://api.github.com/users/mtolly","html_url":"https://github.com/mtolly","followers_url":"https://api.github.com/users/mtolly/followers","following_url":"https://api.github.com/users/mtolly/following{/other_user}","gists_url":"https://api.github.com/users/mtolly/gists{/gist_id}","starred_url":"https://api.github.com/users/mtolly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtolly/subscriptions","organizations_url":"https://api.github.com/users/mtolly/orgs","repos_url":"https://api.github.com/users/mtolly/repos","events_url":"https://api.github.com/users/mtolly/events{/privacy}","received_events_url":"https://api.github.com/users/mtolly/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-28T19:37:42Z","updated_at":"2015-05-28T20:51:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/haskell/cabal/pulls/2615","html_url":"https://github.com/haskell/cabal/pull/2615","diff_url":"https://github.com/haskell/cabal/pull/2615.diff","patch_url":"https://github.com/haskell/cabal/pull/2615.patch"},"body":"Fixes #2275.\r\n\r\nI just copied and tweaked the code from `buildAction`, which had this same issue fixed (`cabal build` used to also say `Run the 'configure' command first.`)"},"comment":{"url":"https://api.github.com/repos/haskell/cabal/issues/comments/106592276","html_url":"https://github.com/haskell/cabal/pull/2615#issuecomment-106592276","issue_url":"https://api.github.com/repos/haskell/cabal/issues/2615","id":106592276,"user":{"login":"mtolly","id":1427698,"avatar_url":"https://avatars.githubusercontent.com/u/1427698?v=3","gravatar_id":"","url":"https://api.github.com/users/mtolly","html_url":"https://github.com/mtolly","followers_url":"https://api.github.com/users/mtolly/followers","following_url":"https://api.github.com/users/mtolly/following{/other_user}","gists_url":"https://api.github.com/users/mtolly/gists{/gist_id}","starred_url":"https://api.github.com/users/mtolly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtolly/subscriptions","organizations_url":"https://api.github.com/users/mtolly/orgs","repos_url":"https://api.github.com/users/mtolly/repos","events_url":"https://api.github.com/users/mtolly/events{/privacy}","received_events_url":"https://api.github.com/users/mtolly/received_events","type":"User","site_admin":false},"created_at":"2015-05-28T20:51:02Z","updated_at":"2015-05-28T20:51:02Z","body":"Yes. The `reconfigure` function is less-than-perfectly named; it does not always reconfigure:\r\n```\r\n-- | Re-configure the package in the current directory if needed. Deciding\r\n-- when to reconfigure and with which options is convoluted:\r\n```\r\nRunning `cabal haddock` when already configured just uses that configuration."}}