mirror of
https://github.com/xmonad/xmonad.git
synced 2025-07-31 04:01:52 -07:00
Make it easier to update the man page
This commit is contained in:
17
xmonad.cabal
17
xmonad.cabal
@@ -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
|
||||
|
Reference in New Issue
Block a user