diff options
author | dons <unknown> | 2004-10-06 00:56:59 +0000 |
---|---|---|
committer | dons <unknown> | 2004-10-06 00:56:59 +0000 |
commit | 10aa0194ea4a6b7de6efbbb489787a7846542b2d (patch) | |
tree | 189d0442c3cdbe990b3c28968f788471aafbd170 /distrib/hc-build | |
parent | beeecedc85ef566031cc49ae7a370ab44f83bbbd (diff) | |
download | haskell-10aa0194ea4a6b7de6efbbb489787a7846542b2d.tar.gz |
[project @ 2004-10-06 00:56:59 by dons]
Use >> append onto build.mk, so that build scripts can add extra vars
to build.mk.
Replace grep \(a\|b\) with [ab]. \| is an extended regex, whereas the
[] class is a basic RE -- so it works with BSD grep.
Diffstat (limited to 'distrib/hc-build')
-rw-r--r-- | distrib/hc-build | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/distrib/hc-build b/distrib/hc-build index 367cfd6d30..606badf063 100644 --- a/distrib/hc-build +++ b/distrib/hc-build @@ -28,7 +28,7 @@ fi # case "$configopts" in *--enable-hc-boot-unregisterised*) -cat >mk/build.mk <<END +cat >>mk/build.mk <<END GhcWithInterpreter=NO GhcWithNativeCodeGen=NO SplitObjs=NO @@ -37,7 +37,7 @@ END ;; *) -cat >mk/build.mk <<END +cat >>mk/build.mk <<END # empty END ;; @@ -77,7 +77,7 @@ PRIMOP_BITS="primop-data-decl.hs-incl \ # 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. -find libraries hslibs | grep '\.\(o\|a\)$' | xargs rm -f +find libraries hslibs | grep '\.[oa]$' | xargs rm -f # Do includes and RTS now $MAKE -C ghc/includes boot && $MAKE -C ghc/includes all |