From 4b7199131876dc3af72612a84348b0c03c7849a5 Mon Sep 17 00:00:00 2001 From: chak Date: Sun, 18 Jun 2000 12:13:56 +0000 Subject: [PATCH] [project @ 2000-06-18 12:13:56 by chak] Script that automates building GHC from .hc files. ?? Shall I edit the corresponding section in building.sgml to advise the use ?? of this script (thus replacing the outdated description of the manual ?? steps - which is wrong anyway). --- distrib/hc-build | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 distrib/hc-build diff --git a/distrib/hc-build b/distrib/hc-build new file mode 100644 index 0000000..6fb9f86 --- /dev/null +++ b/distrib/hc-build @@ -0,0 +1,34 @@ +#/bin/sh + +# Manuel M. T. Chakravarty , June 2000 +# +# Script to build GHC from .hc files (must be run in the fptools/ root +# directory into which the source and .hc files must already have been +# unpacked). All options are passed through to ./configure (especially +# useful with --prefix). + +configopts="$*" + +# build configuration +# +cat >mk/build.mk <>mk/build.mk +make -C ghc/lib clean boot all || exit 1 +make -C hslibs clean boot all -- 1.7.10.4