Commit 8c501b49 authored by Duncan Coutts's avatar Duncan Coutts
Browse files

Minor info and help message improvements

parent 996e8c77
......@@ -147,9 +147,9 @@ install pkg_descr lbi flags = do
let buildPref = buildDir lbi
when (hasLibs pkg_descr) $
notice verbosity ("Installing: " ++ libPref)
notice verbosity ("Installing library in " ++ libPref)
when (hasExes pkg_descr) $
notice verbosity ("Installing: " ++ binPref)
notice verbosity ("Installing executable(s) in " ++ binPref)
-- install include files for all compilers - they may be needed to compile
-- haskell files (using the CPP extension)
......
......@@ -981,7 +981,9 @@ haddockCommand = makeCommand name shortDesc longDesc defaultHaddockFlags options
where
name = "haddock"
shortDesc = "Generate Haddock HTML documentation."
longDesc = Just (\_ -> "Requires cpphs and haddock.\n")
longDesc = Just $ \_ -> "Requires cpphs and haddock.\n"
++ "Extra options can be set at the "
++ "configure stage using --haddock-option(s)=\n"
options _ =
[optionVerbosity haddockVerbosity (\v flags -> flags { haddockVerbosity = v })
,optionDistPref haddockDistPref (\d flags -> flags { haddockDistPref = d })
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment