diff options
author | Spencer Janssen <sjanssen@cse.unl.edu> | 2007-11-05 04:34:28 +0100 |
---|---|---|
committer | Spencer Janssen <sjanssen@cse.unl.edu> | 2007-11-05 04:34:28 +0100 |
commit | 2d996815381e317f2cfc8e2aebe88458cfe46713 (patch) | |
tree | bec65cb881f1beeb7a35d5700fc001bf43bfa65d | |
parent | a7863ab178fade75c5c78fda9d0f2bf6c448bde0 (diff) | |
download | metatile-2d996815381e317f2cfc8e2aebe88458cfe46713.tar metatile-2d996815381e317f2cfc8e2aebe88458cfe46713.zip |
Use configurations in xmonad.cabal
darcs-hash:20071105033428-a5988-ab9cab5f123fa33b13d9908b43d5281f37459810
-rw-r--r-- | xmonad.cabal | 44 |
1 files changed, 29 insertions, 15 deletions
diff --git a/xmonad.cabal b/xmonad.cabal index 161dfcd..dc0b238 100644 --- a/xmonad.cabal +++ b/xmonad.cabal @@ -17,22 +17,36 @@ license: BSD3 license-file: LICENSE author: Spencer Janssen maintainer: sjanssen@cse.unl.edu -build-depends: base>=2.0, mtl, unix, X11==1.3.0 extra-source-files: README TODO tests/loc.hs tests/Properties.hs man/xmonad.1.in util/GenerateManpage.hs man/xmonad.1 man/xmonad.html -exposed-modules: XMonad - XMonad.Config - XMonad.Core - XMonad.Layouts - XMonad.Operations - XMonad.StackSet -ghc-options: -funbox-strict-fields -O2 -fasm -Wall -optl-Wl,-s -ghc-prof-options: -prof -auto-all +cabal-version: >= 1.2 -executable: xmonad -main-is: Main.hs -other-modules: XMonad.Core XMonad.Layouts XMonad.Operations XMonad.StackSet XMonad -ghc-options: -funbox-strict-fields -O2 -fasm -Wall -optl-Wl,-s -ghc-prof-options: -prof -auto-all -extensions: GeneralizedNewtypeDeriving +flag small_base + description: Choose the new smaller, split-up base package. + +library + exposed-modules: XMonad + XMonad.Config + XMonad.Core + XMonad.Layouts + XMonad.Operations + XMonad.StackSet + ghc-options: -funbox-strict-fields -O2 -fasm -Wall -optl-Wl,-s + ghc-prof-options: -prof -auto-all + + if flag(small_base) + build-depends: base >= 3, containers, directory, process + else + build-depends: base < 3 + + build-depends: X11==1.3.0, mtl, unix + + + +executable xmonad + main-is: Main.hs + other-modules: XMonad.Core XMonad.Layouts XMonad.Operations XMonad.StackSet XMonad + ghc-options: -funbox-strict-fields -O2 -fasm -Wall -optl-Wl,-s + ghc-prof-options: -prof -auto-all + extensions: GeneralizedNewtypeDeriving -- Also requires deriving Typeable, PatternGuards |