mirror of
https://github.com/xmonad/xmonad.git
synced 2025-08-04 14:11:55 -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
|
description: Testing mode, only build minimal components
|
||||||
default: False
|
default: False
|
||||||
|
|
||||||
|
flag generatemanpage
|
||||||
|
description: Build the tool for generating the man page
|
||||||
|
default: False
|
||||||
|
manual: True
|
||||||
|
|
||||||
library
|
library
|
||||||
hs-source-dirs: src
|
hs-source-dirs: src
|
||||||
exposed-modules: XMonad
|
exposed-modules: XMonad
|
||||||
@@ -94,6 +99,18 @@ executable xmonad
|
|||||||
if impl(ghc >= 6.12.1)
|
if impl(ghc >= 6.12.1)
|
||||||
ghc-options: -Wall -fno-warn-unused-do-bind
|
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
|
-- note util/hpcReport.sh
|
||||||
test-suite properties
|
test-suite properties
|
||||||
type: exitcode-stdio-1.0
|
type: exitcode-stdio-1.0
|
||||||
|
Reference in New Issue
Block a user