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.
This commit is contained in:
Gabor Pali 2014-08-24 16:49:26 +02:00
parent 0ef1f787c7
commit 80af713743

View file

@ -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