Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
jberryman
GHC
Commits
06781a44
Commit
06781a44
authored
Aug 17, 2008
by
Ian Lynagh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
When making in compiler/, automatically make in ghc/ when we are done
parent
cf690bef
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
7 deletions
+4
-7
Makefile
Makefile
+0
-6
compiler/Makefile
compiler/Makefile
+1
-0
ghc/Makefile
ghc/Makefile
+3
-1
No files found.
Makefile
View file @
06781a44
...
...
@@ -131,8 +131,6 @@ stage1 : $(GCC_LIB_DEP) check-all
$(MAKE)
--no-print-directory
-C
$$
i
$(MFLAGS)
all
;
\
if
[
$$
?
-eq
0
-o
$$
x_on_err
-eq
0
]
;
then
true
;
else
exit
1
;
fi
;
\
done
$(MAKE)
-C
ghc
stage
=
1 boot
$(MAKE)
-C
ghc
stage
=
1
$(MAKE)
-C
rts boot
$(MAKE)
-C
rts
$(MAKE)
-C
libraries all
...
...
@@ -151,14 +149,10 @@ stage2 : check-all
ifeq
"$(HADDOCK_DOCS)" "YES"
$(MAKE)
-C
compiler
stage
=
2 doc
endif
$(MAKE)
-C
ghc
stage
=
2 boot
$(MAKE)
-C
ghc
stage
=
2
stage3
:
check-all
$(MAKE)
-C
compiler
stage
=
3 boot
$(MAKE)
-C
compiler
stage
=
3
$(MAKE)
-C
ghc
stage
=
3 boot
$(MAKE)
-C
ghc
stage
=
3
bootstrap
:
bootstrap2
...
...
compiler/Makefile
View file @
06781a44
...
...
@@ -186,6 +186,7 @@ boot.stage.%: $(PRIMOP_BITS) $(CONFIG_HS) parser/Parser.y
build.stage.%
:
$(MAKE)
-f
Makefile-stage
$*
stage
=
$*
$(CABAL)
register
--distpref
dist-stage
$*
--inplace
$(MAKE)
-C
../ghc
stage
=
$*
doc.stage.%
:
$(CABAL)
haddock
--distpref
dist-stage
$*
...
...
ghc/Makefile
View file @
06781a44
...
...
@@ -89,6 +89,8 @@ TOUCH_MAIN = $(RM) dist-stage1/build/ghc/ghc-tmp/Main.o
endif
endif
dist-stage%
:
boot.stage.%
boot.stage.%
:
$(CABAL)
configure
--distpref
dist-stage
$*
\
$(INSTALL_DIRS_CONFIGURE_FLAGS)
\
...
...
@@ -98,7 +100,7 @@ boot.stage.%:
--datadir
=
'$$libdir'
\
--datasubdir
=
.
build.stage.%
:
build.stage.%
:
dist-stage%
$(TOUCH_MAIN)
$(CABAL)
build
--distpref
dist-stage
$*
$(BUILD_FLAGS)
$(INSTALL_PACKAGE)
install
'
$(GHC_PKG_PROG)
'
'XXX/package.conf'
""
\
...
...
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