diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-11-03 22:14:03 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-11-03 22:14:03 +0000 |
commit | 4a841bfc5464907adea4cdd655485565565b40ae (patch) | |
tree | 36c0a21e3639614c8d25b5fb1909c32d0ab11dcd /pandoc.cabal | |
parent | 3116d30133196e1bb258f7e74e03d4a85f3b21ae (diff) | |
download | pandoc-4a841bfc5464907adea4cdd655485565565b40ae.tar.gz |
Use template haskell to avoid the need for templates:
+ Added library Text.Pandoc.Include, with a template haskell
function $(includeStrFrom fname) to include a file as a string
constant at compile time.
+ This removes the need for the 'templates' directory or Makefile
target. These have been removed.
+ The base source directory has been changed from src to .
+ A new 'data' directory has been added, containing the ASCIIMathML.js
script, writer headers, and S5 files.
+ The src/wrappers directory has been moved to 'wrappers'.
+ The Text.Pandoc.ASCIIMathML library is no longer needed, since
Text.Pandoc.Writers.HTML can use includeStrFrom to include the
ASCIIMathML.js code directly. It has been removed.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1063 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'pandoc.cabal')
-rw-r--r-- | pandoc.cabal | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pandoc.cabal b/pandoc.cabal index a37d0029c..887af2388 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -31,15 +31,14 @@ Description: Pandoc is a Haskell library for converting from one markup which convert this native representation into a target format. Thus, adding an input or output format requires only adding a reader or writer. -Build-Depends: base, parsec, xhtml, mtl, regex-compat, network -Hs-Source-Dirs: src +Build-Depends: base, parsec, xhtml, mtl, regex-compat, network, template-haskell, filepath +Hs-Source-Dirs: . Exposed-Modules: Text.Pandoc, Text.Pandoc.Blocks, Text.Pandoc.Definition, Text.Pandoc.CharacterReferences, Text.Pandoc.Shared, Text.Pandoc.UTF8, - Text.Pandoc.ASCIIMathML, Text.Pandoc.Readers.HTML, Text.Pandoc.Readers.LaTeX, Text.Pandoc.Readers.Markdown, @@ -54,9 +53,10 @@ Exposed-Modules: Text.Pandoc, Text.Pandoc.Writers.RST, Text.Pandoc.Writers.RTF, Text.Pandoc.Writers.S5 -Ghc-Options: -O0 +Other-Modules: Text.Pandoc.Include +Ghc-Options: -O0 -fth Executable: pandoc -Hs-Source-Dirs: src +Hs-Source-Dirs: . Main-Is: Main.hs -Ghc-Options: -O0 +Ghc-Options: -O0 -fth |