summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Pali <pali.gabor@gmail.com>2014-08-24 16:49:26 +0200
committerGabor Pali <pali.gabor@gmail.com>2014-08-24 16:49:26 +0200
commit80af713743336a31daccfc3e725773153c4eaf6c (patch)
treedf005fc6b85a3a8e447662ceea169df0146c3fa1
parent0ef1f787c7a243d6cbc64f60dcb38b218608f2b8 (diff)
Fix build dependencies for the trypandoc flag.
Build dependencies of the trypandoc executable are required, regardless of the trypandoc flag was set to either True or False. Correct package description to make them truly optional.
-rw-r--r--pandoc.cabal4
1 files changed, 2 insertions, 2 deletions
diff --git a/pandoc.cabal b/pandoc.cabal
index ce3b75971..2a7b17d39 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -374,10 +374,10 @@ Executable pandoc
Executable trypandoc
Main-Is: trypandoc.hs
Hs-Source-Dirs: trypandoc
- build-depends: base, aeson, pandoc, highlighting-kate,
- text, wai-extra, wai >= 0.3, http-types
default-language: Haskell2010
if flag(trypandoc)
+ build-depends: base, aeson, pandoc, highlighting-kate,
+ text, wai-extra, wai >= 0.3, http-types
Buildable: True
else
Buildable: False