diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-08-17 16:11:09 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-08-17 16:11:09 -0700 |
commit | 886cc0dd369c8975efe861d814a82b2d65343ede (patch) | |
tree | 122a21e68de171a910d41cb54f58a37e9a0bafbc /pandoc.cabal | |
parent | fa0d9a28dfac2e1303dbb236a9c60ee4394eacb1 (diff) | |
download | pandoc-886cc0dd369c8975efe861d814a82b2d65343ede.tar.gz |
Added trypandoc flag to build trypandoc cgi executable.
Supporting files are in trypandoc/.
Diffstat (limited to 'pandoc.cabal')
-rw-r--r-- | pandoc.cabal | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/pandoc.cabal b/pandoc.cabal index 78c501d1b..9afd9507e 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -93,6 +93,9 @@ Extra-Source-Files: -- generated man pages (produced post-build) man/man1/pandoc.1 man/man5/pandoc_markdown.5 + -- trypandoc + trypandoc/Makefile + trypandoc/index.html -- tests tests/bodybg.gif tests/*.native @@ -184,6 +187,10 @@ Flag embed_data_files Description: Embed data files in binary for relocatable executable. Default: False +Flag trypandoc + Description: Build trypandoc cgi executable. + Default: False + Flag https Description: Enable support for downloading of resources over https. Default: True @@ -352,6 +359,17 @@ Executable pandoc Main-Is: pandoc.hs Buildable: True +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) + Buildable: True + else + Buildable: False + -- NOTE: A trick in Setup.hs makes sure this won't be installed: Executable make-pandoc-man-pages Main-Is: make-pandoc-man-pages.hs |