diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2013-01-23 08:33:45 -0800 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2013-01-23 19:26:39 -0800 |
commit | fe337b07f7c0a15ac792275ed8fb88d3fa5247a3 (patch) | |
tree | 8c1e4c9f0bcfbfee777f5a36bfd7f9401a72d955 /pandoc.cabal | |
parent | daeb52d4e0f21b0e1ad8c3ce17ee9f18a6394f63 (diff) | |
download | pandoc-fe337b07f7c0a15ac792275ed8fb88d3fa5247a3.tar.gz |
Use hsb2hs preprocessor instead of TH for embed_data_files.
This should work on Windows, unlike the TH solution with
file-embed.
Diffstat (limited to 'pandoc.cabal')
-rw-r--r-- | pandoc.cabal | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/pandoc.cabal b/pandoc.cabal index 8d8aaf442..e89628e81 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -246,9 +246,9 @@ Library build-depends: blaze-html >= 0.4.3.0 && < 0.5 if flag(embed_data_files) - build-depends: file-embed >= 0.0.4.7 && < 0.1, - template-haskell >= 2.4 && < 2.9 cpp-options: -DEMBED_DATA_FILES + -- build-tools: hsb2hs + other-modules: Text.Pandoc.Data if impl(ghc >= 7.0.1) Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind else @@ -314,9 +314,6 @@ Library Text.Pandoc.Slides, Paths_pandoc - if flag(embed_data_files) - Other-Modules: Text.Pandoc.Data - Buildable: True Executable pandoc |