Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
obsidiansystems
GHC
Commits
c1153c78
Commit
c1153c78
authored
Jul 20, 2008
by
Ian Lynagh
Browse files
haddock the stage2 compiler if HADDOCK_DOCS is YES
parent
90c32262
Changes
2
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
c1153c78
...
...
@@ -148,6 +148,9 @@ stage1 : $(GCC_LIB_DEP) check-all
stage2
:
check-all
$(MAKE)
-C
compiler
stage
=
2 boot
$(MAKE)
-C
compiler
stage
=
2
ifeq
"$(HADDOCK_DOCS)" "YES"
$(MAKE)
-C
compiler
stage
=
2 doc
endif
$(MAKE)
-C
ghc
stage
=
2 boot
$(MAKE)
-C
ghc
stage
=
2
...
...
compiler/Makefile
View file @
c1153c78
...
...
@@ -44,6 +44,8 @@ boot:: boot.stage.$(stage)
all
::
build.stage.$(stage)
doc
::
doc.stage.$(stage)
stage1
::
$(MAKE)
stage
=
1
...
...
@@ -175,6 +177,9 @@ build.stage.%:
$(MAKE)
-f
Makefile-stage
$*
stage
=
$*
$(CABAL)
register
--distpref
dist-stage
$*
--inplace
doc.stage.%
:
$(CABAL)
haddock
--distpref
dist-stage
$*
# XXX We ought to actually install the (stage 2) library
install
:
@
:
...
...
Write
Preview
Supports
Markdown
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