aboutsummaryrefslogtreecommitdiff
path: root/src/HaddockVersion.hs
diff options
context:
space:
mode:
authorsimonmar <simonmar@microsoft.com>2005-10-14 23:11:19 +0000
committersimonmar <simonmar@microsoft.com>2005-10-14 23:11:19 +0000
commit21c7ac8d714be74903755ed2d6ee3716ab77a727 (patch)
tree98fe80aceff6746cfbf8eb631a42ef1101198150 /src/HaddockVersion.hs
parentb2edbedbcf19f9ec187128574f0dba29d3373d41 (diff)
First cut of Cabal build system
Diffstat (limited to 'src/HaddockVersion.hs')
-rw-r--r--src/HaddockVersion.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/HaddockVersion.hs b/src/HaddockVersion.hs
index f3090b4e..4cb94271 100644
--- a/src/HaddockVersion.hs
+++ b/src/HaddockVersion.hs
@@ -8,10 +8,11 @@ module HaddockVersion (
projectName, projectVersion, projectUrl
) where
-import Version ( version )
+import Paths_Haddock ( version )
+import Data.Version ( showVersion )
projectName, projectUrl :: String
projectName = "Haddock"
projectUrl = "http://www.haskell.org/haddock/"
-projectVersion = version
+projectVersion = showVersion version