projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2001-07-23 22:33:52 by ken]
[ghc-hetmet.git]
/
distrib
/
hc-build
diff --git
a/distrib/hc-build
b/distrib/hc-build
index
c96d4ab
..
21d9db6
100644
(file)
--- a/
distrib/hc-build
+++ b/
distrib/hc-build
@@
-8,7
+8,7
@@
# unpacked). All options are passed through to ./configure (especially
# useful with --prefix).
# unpacked). All options are passed through to ./configure (especially
# useful with --prefix).
-configopts="$*"
+configopts="$*" # e.g., --enable-hc-boot-unregisterised
# check for GNU make
#
# check for GNU make
#
@@
-38,7
+38,6
@@
touch ghc/compiler/main/ParsePkgConf.hs
echo "*** Building hsc..."
./configure --enable-hc-boot $configopts
$MAKE -C glafp-utils boot all
echo "*** Building hsc..."
./configure --enable-hc-boot $configopts
$MAKE -C glafp-utils boot all
-$MAKE -C ghc/utils/unlit boot all
$MAKE -C ghc boot
$MAKE -C hslibs boot all
$MAKE -C ghc all
$MAKE -C ghc boot
$MAKE -C hslibs boot all
$MAKE -C ghc all
@@
-46,9
+45,12
@@
$MAKE -C ghc all
echo "*** Building libraries..."
./configure
echo "*** Building libraries..."
./configure
-# clean in ghc/lib, but avoid removing hsc2hs-generated .hs files
-$MAKE -C ghc/lib clean HSC_SRCS=""
-$MAKE -C ghc/lib boot all
+# make ghc/utils while we still have libraries in ghc/lib
+$MAKE -C ghc/utils clean boot
+$MAKE -C ghc/utils all
-$MAKE -C hslibs clean boot all
-$MAKE -C ghc/utils clean boot all
+# now, clean and build the libraries
+$MAKE -C ghc/lib clean boot
+$MAKE -C ghc/lib all
+$MAKE -C hslibs clean boot
+$MAKE -C hslibs all