aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--haddock.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/haddock.spec b/haddock.spec
index 498dc4eb..7c85eb32 100644
--- a/haddock.spec
+++ b/haddock.spec
@@ -55,7 +55,7 @@ should all be ok).
%setup
%build
-runhaskell Setup.lhs configure --prefix=%{prefix}
+runhaskell Setup.lhs configure --prefix=%{_prefix} --docdir=%{_datadir}/doc/packages/%{name}
runhaskell Setup.lhs build
cd doc
test -f configure || autoreconf