diff options
author | Ian Lynagh <igloo@earth.li> | 2007-01-19 22:08:50 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2007-01-19 22:08:50 +0000 |
commit | 67dbed85f9a97649b1c427bf9eaf80f2e30698b0 (patch) | |
tree | 0a9dc1783df691b6a2e4dbe13abef055369bc8dc /distrib/hc-build | |
parent | 8d3a648c4ef8b2be9f95bade7ff1516a893ea488 (diff) | |
download | haskell-67dbed85f9a97649b1c427bf9eaf80f2e30698b0.tar.gz |
Tweak hc-build
Touch all the object files at the end of hc-build, as otherwise make
gets upset as the .h files are newer than them and tries to rebuild
stuff (and fails).
Print a nice message when we're finished.
Diffstat (limited to 'distrib/hc-build')
-rw-r--r-- | distrib/hc-build | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/distrib/hc-build b/distrib/hc-build index a645fa34f5..43133f83de 100644 --- a/distrib/hc-build +++ b/distrib/hc-build @@ -107,6 +107,8 @@ $MAKE -C libraries boot all # 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 compiler; touch $PRIMOP_BITS stage1/parser/hschooks.o stage1/prelude/PrimOp.o main/Config.hs stage1/main/Config.o stage1/ghc-* ghc-*) +(cd compiler; touch main/Config.hs $PRIMOP_BITS stage1/*/*.o stage1/ghc-* ghc-*) + +echo hc-build done +echo The tree should be safe to do 'make install stage=1' in. -# At this point, the tree should be safe to do 'make install stage=1' in. |