X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=ghc.spec.in;h=c8eab264c217a86f499ae76b6a7896b784bc6509;hp=331fdd4f09ed85b6c5cfe2f36f5966e003c38fc0;hb=cb8fb4dc68b503474bd65c0a669d9018a3ce96fe;hpb=c598f995b471e9f84fb41aa61eccac1be60fddd2 diff --git a/ghc.spec.in b/ghc.spec.in index 331fdd4..c8eab26 100644 --- a/ghc.spec.in +++ b/ghc.spec.in @@ -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 @@ -82,8 +85,14 @@ needed. %setup -b1 %build -test -f configure || sh boot +test -f configure || perl 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...