Make it easier to update the man page

This commit is contained in:
Peter Jones
2015-12-11 11:19:40 -07:00
parent 30b4ff5e40
commit 4c0717e9cc

View File

@@ -43,6 +43,11 @@ flag testing
description: Testing mode, only build minimal components
default: False
flag generatemanpage
description: Build the tool for generating the man page
default: False
manual: True
library
hs-source-dirs: src
exposed-modules: XMonad
@@ -94,6 +99,18 @@ executable xmonad
if impl(ghc >= 6.12.1)
ghc-options: -Wall -fno-warn-unused-do-bind
executable generatemanpage
main-is: GenerateManpage.hs
hs-source-dirs: util
build-depends: base,
Cabal,
pandoc,
pretty,
regex-posix
if !flag(generatemanpage)
buildable: False
-- note util/hpcReport.sh
test-suite properties
type: exitcode-stdio-1.0