From c56e3d687ada5ffbb23c79fd23562e2cca430b04 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 17 Jun 2011 22:22:22 +0900 Subject: [PATCH] fix one last old %{with doc} --- ghc.spec | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/ghc.spec b/ghc.spec index a4b7674..d13fbf8 100644 --- a/ghc.spec +++ b/ghc.spec @@ -339,11 +339,6 @@ fi %{ghclibdir}/ghc-usage.txt %{ghclibdir}/ghci-usage.txt %{ghclibdir}/hsc2hs -%if %{with doc} -%{ghclibdir}/haddock -%{ghclibdir}/html -%{ghclibdir}/latex -%endif %dir %{ghclibdir}/package.conf.d %ghost %{ghclibdir}/package.conf.d/package.cache %{ghclibdir}/runghc @@ -352,7 +347,10 @@ fi %{_mandir}/man1/ghc.* %dir %{_docdir}/ghc %dir %{ghcdocbasedir} -%if %{with doc} +%if %{undefined without_haddock} +%{ghclibdir}/haddock +%{ghclibdir}/html +%{ghclibdir}/latex %{ghcdocbasedir}/html %if %{undefined without_manual} %{ghcdocbasedir}/Cabal