summaryrefslogtreecommitdiff
path: root/ghc.spec.in
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2007-10-25 08:42:22 +0000
committerSimon Marlow <simonmar@microsoft.com>2007-10-25 08:42:22 +0000
commitf6e429f8f5a533d699a69ffc733a56be5ddff5a9 (patch)
treeb945307c5ceb491d298ada5b5807f2d298aa97ad /ghc.spec.in
parent7895455f8dc327c6b447f9287d6e76ddcd253183 (diff)
downloadhaskell-f6e429f8f5a533d699a69ffc733a56be5ddff5a9.tar.gz
default to installing runhaskell and hsc2hs again, but provide knobs to turn them off
Diffstat (limited to 'ghc.spec.in')
-rw-r--r--ghc.spec.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/ghc.spec.in b/ghc.spec.in
index 331fdd4f09..5d3fa1f1d1 100644
--- a/ghc.spec.in
+++ b/ghc.spec.in
@@ -84,6 +84,12 @@ needed.
%build
test -f configure || sh boot
./configure --prefix=%{_prefix} --mandir=%{_mandir}
+
+# Don't install these tools, we'll use update-alternatives below.
+touch mk/build.mk
+echo "NO_INSTALL_RUNHASKELL=YES" >>mk/build.mk
+echo "NO_INSTALL_HSC2HS=YES" >>mk/build.mk
+
make %{?jobs:-j%jobs}
make html
# Alas, we don't pass make options/arguments down to "libraries", so let's redo make here...