diff options
Diffstat (limited to 'pandoc.cabal')
-rw-r--r-- | pandoc.cabal | 44 |
1 files changed, 24 insertions, 20 deletions
diff --git a/pandoc.cabal b/pandoc.cabal index 5317aecfc..36533a88a 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -1,5 +1,5 @@ Name: pandoc -Version: 1.5.1 +Version: 1.6 Cabal-Version: >= 1.2 Build-Type: Custom License: GPL @@ -18,8 +18,8 @@ Description: Pandoc is a Haskell library for converting from one markup this library. It can read markdown and (subsets of) reStructuredText, HTML, and LaTeX, and it can write markdown, reStructuredText, HTML, LaTeX, ConTeXt, Docbook, - OpenDocument, ODT, RTF, MediaWiki, groff man pages, and - S5 HTML slide shows. + OpenDocument, ODT, RTF, MediaWiki, groff man pages, EPUB, + and S5 HTML slide shows. . Pandoc extends standard markdown syntax with footnotes, embedded LaTeX, definition lists, tables, and other @@ -44,6 +44,8 @@ Data-Files: templates/mediawiki.template, templates/rtf.template, -- data for ODT writer reference.odt, + -- stylesheet for EPUB writer + epub.css, -- data for LaTeXMathML writer data/LaTeXMathML.js, data/MathMLinHTML.js, @@ -57,9 +59,7 @@ Data-Files: s5/default/outline.css, s5/default/print.css, -- documentation - README, INSTALL, COPYRIGHT, BUGS, changelog, - -- wrappers - markdown2pdf + README, INSTALL, COPYRIGHT, BUGS, changelog Extra-Source-Files: -- sources for man pages man/man1/pandoc.1.md, man/man1/markdown2pdf.1.md, @@ -124,6 +124,9 @@ Extra-Source-Files: tests/RunTests.hs Extra-Tmp-Files: man/man1/pandoc.1, man/man1/markdown2pdf.1 +Flag threaded + Description: Compile markdown2pdf with -threaded option. + Default: True Flag highlighting Description: Compile in support for syntax highlighting of code blocks. Default: False @@ -133,22 +136,19 @@ Flag executable Flag wrappers Description: Build the wrappers (markdown2pdf). Default: True -Flag library - Description: Build the pandoc library. - Default: True Flag citeproc Description: Compile in support for citeproc-hs bibliographic formatting. Default: False Library Build-Depends: pretty >= 1, containers >= 0.1, - parsec >= 2.1 && < 3, xhtml >= 3000.0, + parsec >= 2.1, xhtml >= 3000.0, mtl >= 1.1, network >= 2, filepath >= 1.1, process >= 1, directory >= 1, bytestring >= 0.9, zip-archive >= 0.1.1.4, utf8-string >= 0.3, old-time >= 1, HTTP >= 4000.0.5, texmath, xml >= 1.3.5 && < 1.4, - extensible-exceptions + random, extensible-exceptions if impl(ghc >= 6.10) Build-depends: base >= 4 && < 5, syb else @@ -166,13 +166,14 @@ Library Text.Pandoc.Definition, Text.Pandoc.CharacterReferences, Text.Pandoc.Shared, - Text.Pandoc.ODT, + Text.Pandoc.Parsing, Text.Pandoc.Highlighting, Text.Pandoc.Readers.HTML, Text.Pandoc.Readers.LaTeX, Text.Pandoc.Readers.Markdown, Text.Pandoc.Readers.RST, Text.Pandoc.Readers.TeXMath, + Text.Pandoc.Writers.Native, Text.Pandoc.Writers.Docbook, Text.Pandoc.Writers.HTML, Text.Pandoc.Writers.LaTeX, @@ -185,8 +186,12 @@ Library Text.Pandoc.Writers.MediaWiki, Text.Pandoc.Writers.RTF, Text.Pandoc.Writers.S5, + Text.Pandoc.Writers.ODT, + Text.Pandoc.Writers.EPUB, Text.Pandoc.Templates Other-Modules: Text.Pandoc.XML, + Text.Pandoc.UTF8, + Text.Pandoc.UUID, Paths_pandoc Extensions: CPP if impl(ghc >= 6.12) @@ -194,19 +199,15 @@ Library else Ghc-Options: -O2 -Wall Ghc-Prof-Options: -auto-all -caf-all - - if flag(library) - Buildable: True - else - Buildable: False + Buildable: True Executable pandoc Hs-Source-Dirs: src Main-Is: pandoc.hs if impl(ghc >= 6.12) - Ghc-Options: -O2 -Wall -threaded -fno-warn-unused-do-bind + Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind else - Ghc-Options: -O2 -Wall -threaded + Ghc-Options: -O2 -Wall Ghc-Prof-Options: -auto-all -caf-all Extensions: CPP @@ -223,7 +224,10 @@ Executable pandoc Executable markdown2pdf Hs-Source-Dirs: src Main-Is: markdown2pdf.hs - Ghc-Options: -Wall -threaded + if flag(threaded) + Ghc-Options: -Wall -threaded + else + Ghc-Options: -Wall Ghc-Prof-Options: -auto-all Extensions: CPP if flag(wrappers) |