aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Version.hs
diff options
context:
space:
mode:
authordavve@dtek.chalmers.se <David Waern>2007-03-25 01:23:25 +0000
committerdavve@dtek.chalmers.se <David Waern>2007-03-25 01:23:25 +0000
commit11ebf08d5ef30375ba5585b6079f696d49402c3f (patch)
tree0287ff78e5f7f0658010c6c18993415693bd9ab9 /src/Haddock/Version.hs
parentbc59490468c17bfc181ffe51cf428314195ad8a0 (diff)
De-flatten the namespace
Diffstat (limited to 'src/Haddock/Version.hs')
-rw-r--r--src/Haddock/Version.hs18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/Haddock/Version.hs b/src/Haddock/Version.hs
new file mode 100644
index 00000000..f4d02b7d
--- /dev/null
+++ b/src/Haddock/Version.hs
@@ -0,0 +1,18 @@
+--
+-- Haddock - A Haskell Documentation Tool
+--
+-- (c) Simon Marlow 2003
+--
+
+module Haddock.Version (
+ projectName, projectVersion, projectUrl
+ ) where
+
+import Paths_haddock_ghc ( version )
+import Data.Version ( showVersion )
+
+projectName, projectUrl :: String
+projectName = "Haddock-GHC"
+projectUrl = "http://www.haskell.org/haddock/"
+
+projectVersion = showVersion version