aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pandoc.cabal8
1 files changed, 8 insertions, 0 deletions
diff --git a/pandoc.cabal b/pandoc.cabal
index c9feb3272..95a790da0 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -187,6 +187,10 @@ Flag https
Description: Enable support for downloading of resources over https.
Default: True
+Flag make-pandoc-man-pages
+ Description: Build program to regenerate pandoc man pages from README.
+ Default: False
+
Library
Build-Depends: base >= 4.2 && <5,
syb >= 0.1 && < 0.5,
@@ -358,6 +362,10 @@ Executable make-pandoc-man-pages
old-time >= 1.0 && < 1.2,
time >= 1.2 && < 1.5
Default-Language: Haskell98
+ if flag(make-pandoc-man-pages)
+ Buildable: True
+ else
+ Buildable: False
Test-Suite test-pandoc
Type: exitcode-stdio-1.0