git.iko.soy/typeable/pandoc
on master help sign in
Added make-pandoc-man-pages flag

Previously we built this by default, but most users won't need to build it, since we include built man pages with the package.

commit3b7d276ab056261972dfefc659648813bb9787d7 authorJohn MacFarlane <jgm@berkeley.edu> dateWed 13 Aug 2014, 13:52 (12 years ago) parenta0e795f
1 file changed+8
pandoc.cabal+8
pandoc.cabal+8
@@ -187,6 +187,10 @@ Flag https
187187 Description: Enable support for downloading of resources over https.
188188 Default: True
189189
190+Flag make-pandoc-man-pages
191+ Description: Build program to regenerate pandoc man pages from README.
192+ Default: False
193+
190194Library
191195 Build-Depends: base >= 4.2 && <5,
192196 syb >= 0.1 && < 0.5,
@@ -358,6 +362,10 @@ Executable make-pandoc-man-pages
358362 old-time >= 1.0 && < 1.2,
359363 time >= 1.2 && < 1.5
360364 Default-Language: Haskell98
365+ if flag(make-pandoc-man-pages)
366+ Buildable: True
367+ else
368+ Buildable: False
361369
362370Test-Suite test-pandoc
363371 Type: exitcode-stdio-1.0