From c453e6644c78e2d0e16a6277bbfd9e3608f5cf8b Mon Sep 17 00:00:00 2001 From: Sergey Khorev Date: Sat, 23 Nov 2013 21:10:30 +0400 Subject: [PATCH] Enable building of haddock text file for hoogle --- Distribution/ArchLinux/CabalTranslation.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Distribution/ArchLinux/CabalTranslation.hs b/Distribution/ArchLinux/CabalTranslation.hs index 7669e97..debd31b 100644 --- a/Distribution/ArchLinux/CabalTranslation.hs +++ b/Distribution/ArchLinux/CabalTranslation.hs @@ -208,7 +208,7 @@ stubPackageLibrary _ = emptyPkgBuild { , "runhaskell Setup configure -O ${PKGBUILD_HASKELL_ENABLE_PROFILING:+-p } --enable-split-objs --enable-shared \\" , " --prefix=/usr --docdir=/usr/share/doc/${pkgname} --libsubdir=\\$compiler/site-local/\\$pkgid" , "runhaskell Setup build" - , "runhaskell Setup haddock" + , "runhaskell Setup haddock --html --hoogle" , "runhaskell Setup register --gen-script" , "runhaskell Setup unregister --gen-script" , "sed -i -r -e \"s|ghc-pkg.*unregister[^ ]* |&'--force' |\" unregister.sh"