summaryrefslogtreecommitdiff
path: root/distrib/hc-build
diff options
context:
space:
mode:
authorsimonmar <unknown>2003-09-02 10:26:53 +0000
committersimonmar <unknown>2003-09-02 10:26:53 +0000
commit38e89650554d7851233792ad2d238c2282a628f0 (patch)
tree294b467730bfb738c8a0ca7570bb490df68eab04 /distrib/hc-build
parent9d252eebc4df2d4f1e4703faebb6369060c0633c (diff)
downloadhaskell-38e89650554d7851233792ad2d238c2282a628f0.tar.gz
[project @ 2003-09-02 10:26:53 by simonmar]
Wibbles to the touching of files to avoid unecessary recompilation when doing 'make install' in a tree after bootstrapping.
Diffstat (limited to 'distrib/hc-build')
-rw-r--r--distrib/hc-build11
1 files changed, 4 insertions, 7 deletions
diff --git a/distrib/hc-build b/distrib/hc-build
index f64345fbc2..e6a132c096 100644
--- a/distrib/hc-build
+++ b/distrib/hc-build
@@ -72,11 +72,6 @@ PRIMOP_BITS="primop-data-decl.hs-incl \
primop-usage.hs-incl \
primop-primop-info.hs-incl"
-# The reconfigure step updates a few files, which can lead to
-# unnecessary recompilations. Touch a bunch of things here to avoid
-# having to recompile stuff that we've already built.
-(cd ghc/compiler; touch $PRIMOP_BITS parser/hschooks.o prelude/PrimOp.o main/Config.hs main/Config.o ghc-*)
-
# Remove the old libraries. Don't use make clean, because we don't
# want to delete the .hs files generated from the .hsc files, because
# we don't have hsc2hs built yet.
@@ -95,7 +90,9 @@ $MAKE -C ghc/utils clean && $MAKE -C ghc/utils boot all
# Now we can build hslibs (hsc2hs is required, so must be after ghc/utils)
$MAKE -C hslibs boot all
-# Avoid relinking the compiler during 'make install':
-(cd ghc/compiler; touch parser/hschooks.o ghc-*)
+# The reconfigure step updates a few files, which can lead to
+# unnecessary recompilations. Touch a bunch of things here to avoid
+# having to recompile stuff that we've already built.
+(cd ghc/compiler; touch $PRIMOP_BITS parser/hschooks.o prelude/PrimOp.o main/Config.hs main/Config.o ghc-*)
# At this point, the tree should be safe to do 'make install' in.