Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
ef4fcc50
Commit
ef4fcc50
authored
Feb 01, 2009
by
Samuel Bronson
Browse files
Fix message suggesting the --executables flag
parent
9b4acb7d
Changes
1
Show whitespace changes
Inline
Side-by-side
Distribution/Simple/Haddock.hs
View file @
ef4fcc50
...
...
@@ -115,8 +115,7 @@ haddock pkg_descr _ _ haddockFlags
&&
not
(
fromFlag
$
haddockExecutables
haddockFlags
)
=
warn
(
fromFlag
$
haddockVerbosity
haddockFlags
)
$
"No documentation was generated as this package does not contain "
++
"a library. Perhaps you want to use the haddock command with the "
++
"--executables."
++
"a library. Perhaps you want to use the --executables flag."
haddock
pkg_descr
lbi
suffixes
flags
=
do
let
distPref
=
fromFlag
(
haddockDistPref
flags
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment