Skip to content

Commit

Permalink
Merge branch 'development'
Browse files Browse the repository at this point in the history
  • Loading branch information
waern committed Oct 22, 2011
2 parents 0844318 + dca8a6d commit 2deba11
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 20 deletions.
6 changes: 6 additions & 0 deletions CHANGES
@@ -1,3 +1,9 @@
Changes in version 2.9.4

* Require GHC >= 7.2

* Support Alex 3.x

Changes in version 2.9.3

[This is the version that comes with GHC 7.2.1 although it claims it's 2.9.2!]
Expand Down
2 changes: 1 addition & 1 deletion doc/haddock.xml
Expand Up @@ -21,7 +21,7 @@
<holder>Simon Marlow, David Waern</holder>
</copyright>
<abstract>
<para>This document describes Haddock version 2.9.3, a Haskell
<para>This document describes Haddock version 2.9.4, a Haskell
documentation tool.</para>
</abstract>
</bookinfo>
Expand Down
28 changes: 17 additions & 11 deletions haddock.cabal
@@ -1,18 +1,19 @@
name: haddock
version: 2.9.3
cabal-version: >= 1.10
version: 2.9.4
synopsis: A documentation-generation tool for Haskell libraries
description: Haddock is a documentation-generation tool for Haskell
libraries
license: BSD3
build-type: Simple
license-file: LICENSE
copyright: (c) Simon Marlow, David Waern
author: Simon Marlow, David Waern
maintainer: David Waern <david.waern@gmail.com>
stability: experimental
homepage: http://www.haskell.org/haddock/
synopsis: A documentation-generation tool for Haskell libraries
description: Haddock is a documentation-generation tool for Haskell
libraries
category: Development
bug-reports: http://trac.haskell.org/haddock
copyright: (c) Simon Marlow, David Waern
category: Documentation
build-type: Simple
cabal-version: >= 1.10
stability: experimental

extra-source-files:
CHANGES
Expand Down Expand Up @@ -77,6 +78,7 @@ flag test

executable haddock
default-language: Haskell2010
build-tools: alex >= 2.3, happy >= 1.18
build-depends:
base >= 4.3 && < 4.5,
filepath,
Expand All @@ -86,7 +88,7 @@ executable haddock
array,
xhtml >= 3000.2 && < 3000.3,
Cabal >= 1.10,
ghc >= 7.0 && < 7.4
ghc >= 7.2 && < 7.4

if flag(in-ghc-tree)
cpp-options: -DIN_GHC_TREE
Expand Down Expand Up @@ -137,6 +139,7 @@ executable haddock

library
default-language: Haskell2010
build-tools: alex >= 2.3, happy >= 1.18
build-depends:
base >= 4.3 && < 4.5,
filepath,
Expand All @@ -146,7 +149,7 @@ library
array,
xhtml >= 3000.2 && < 3000.3,
Cabal >= 1.10,
ghc >= 7.0 && < 7.4
ghc >= 7.2 && < 7.4

if flag(in-ghc-tree)
cpp-options: -DIN_GHC_TREE
Expand Down Expand Up @@ -209,3 +212,6 @@ test-suite html-tests
hs-source-dirs: tests/html-tests
build-depends: base, directory, process, filepath, Cabal, regex-compat

source-repository head
type: git
location: http://darcs.haskell.org/haddock.git
2 changes: 1 addition & 1 deletion haddock.spec
Expand Up @@ -17,7 +17,7 @@
# version label of your release tarball.

%define name haddock
%define version 2.9.3
%define version 2.9.4
%define release 1

Name: %{name}
Expand Down
10 changes: 3 additions & 7 deletions src/Haddock/InterfaceFile.hs
Expand Up @@ -66,14 +66,10 @@ binaryInterfaceMagic = 0xD0Cface
-- because we store GHC datatypes in our interface files, we need to make sure
-- we version our interface files accordingly.
binaryInterfaceVersion :: Word16
#if __GLASGOW_HASKELL__ == 700
binaryInterfaceVersion = 16
#elif __GLASGOW_HASKELL__ == 701
binaryInterfaceVersion = 16
#elif __GLASGOW_HASKELL__ == 702
binaryInterfaceVersion = 16
#if __GLASGOW_HASKELL__ == 702
binaryInterfaceVersion = 17
#elif __GLASGOW_HASKELL__ == 703
binaryInterfaceVersion = 16
binaryInterfaceVersion = 17
#else
#error Unknown GHC version
#endif
Expand Down

0 comments on commit 2deba11

Please sign in to comment.