aboutsummaryrefslogtreecommitdiff
path: root/Build/Mans.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-06-02 16:54:13 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-06-02 16:54:58 -0400
commitbfc9f0cb3094da50c6d6e22242978513bee8a622 (patch)
treec9e9f5119f2f592fb4b36847d3f9b47609d0d10c /Build/Mans.hs
parent0ff2732d9583fd70d75cd8e365587803a7ac75ed (diff)
fix man page building
Diffstat (limited to 'Build/Mans.hs')
-rw-r--r--Build/Mans.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/Mans.hs b/Build/Mans.hs
index a50396e5e..e7455d858 100644
--- a/Build/Mans.hs
+++ b/Build/Mans.hs
@@ -18,8 +18,8 @@ import System.Exit
import Data.Maybe
import Utility.Exception
-main :: IO ()
-main = do
+buildMansOrWarn :: IO ()
+buildMansOrWarn = do
mans <- buildMans
when (any isNothing mans) $
error "mdwn2man failed"