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
Alex D
GHC
Commits
c778b922
Commit
c778b922
authored
May 26, 2009
by
Ian Lynagh
Browse files
Add a haddock target, for just building the haddock docs
parent
02821021
Changes
2
Hide whitespace changes
Inline
Side-by-side
ghc.mk
View file @
c778b922
...
...
@@ -100,6 +100,8 @@
# o libraries/*
# o compiler
.PHONY
:
default all haddock
default
:
all
# Just bring makefiles up to date:
...
...
rules/haddock.mk
View file @
c778b922
...
...
@@ -21,6 +21,8 @@ else
$$(error
Already
got
a
haddock
file
for
$$($1_PACKAGE))
endif
haddock
:
$$($$($1_PACKAGE)_HADDOCK_FILE)
ifeq
"$$(HADDOCK_DOCS)" "YES"
$(call
all-target,$1_$2_haddock,$$($$($1_PACKAGE)_HADDOCK_FILE))
endif
...
...
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