Improve error reporting for kind errors (fix Trac #1633)
[ghc-hetmet.git] / ghc.spec.in
index 331fdd4..3400227 100644 (file)
@@ -1,3 +1,6 @@
+# WARNING: ghc.spec is automatically generated from ghc.spec.in by
+# ./configure.  Make sure you are editing ghc.spec.in, not ghc.spec.
+#
 # RPM spec file for GHC                                                 -*-rpm-spec-*-
 #
 # Copyright [1998..2007] The GHC Team
@@ -84,6 +87,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...