aboutsummaryrefslogtreecommitdiffstats
path: root/xmonad.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'xmonad.cabal')
-rw-r--r--xmonad.cabal23
1 files changed, 9 insertions, 14 deletions
diff --git a/xmonad.cabal b/xmonad.cabal
index 627361c..5b7dc7a 100644
--- a/xmonad.cabal
+++ b/xmonad.cabal
@@ -20,7 +20,7 @@ maintainer: xmonad@haskell.org
extra-source-files: README TODO CONFIG STYLE tests/loc.hs tests/Properties.hs
man/xmonad.1.markdown man/xmonad.1 man/xmonad.1.html
util/GenerateManpage.hs
-cabal-version: >= 1.6
+cabal-version: >= 1.8
bug-reports: http://code.google.com/p/xmonad/issues/list
build-type: Simple
@@ -44,6 +44,7 @@ flag testing
default: False
library
+ hs-source-dirs: src
exposed-modules: XMonad
XMonad.Main
XMonad.Core
@@ -74,19 +75,13 @@ library
buildable: False
executable xmonad
- main-is: Main.hs
- other-modules: XMonad
- XMonad.Main
- XMonad.Core
- XMonad.Config
- XMonad.Layout
- XMonad.ManageHook
- XMonad.Operations
- XMonad.StackSet
-
- if true
- ghc-options: -funbox-strict-fields -Wall
-
+ main-is: Main.hs
+ build-depends: base,
+ X11,
+ unix,
+ mtl,
+ xmonad
+ ghc-options: -Wall
if impl(ghc >= 6.12.1)
ghc-options: -fno-warn-unused-do-bind