Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
5d6bfce4
Commit
5d6bfce4
authored
Apr 29, 2009
by
Duncan Coutts
Browse files
Prevent haddock docs being built when HADDOCK_DOCS=NO
parent
f3aea765
Changes
1
Hide whitespace changes
Inline
Side-by-side
rules/haddock.mk
View file @
5d6bfce4
...
...
@@ -21,7 +21,9 @@ else
$$(error
Already
got
a
haddock
file
for
$$($1_PACKAGE))
endif
ifeq
"HADDOCK_DOCS" "YES"
$(call
all-target,$1_$2_haddock,$$($$($1_PACKAGE)_HADDOCK_FILE))
endif
$$($1_PACKAGE)_HADDOCK_DEPS
=
$
$(
foreach
n,
$$
(
$1_$2_DEP_NAMES
)
,
$$
(
$$
n_HADDOCK_FILE
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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