aboutsummaryrefslogtreecommitdiff
path: root/src/HaddockVersion.hs
diff options
context:
space:
mode:
authorsimonmar <unknown>2004-08-31 13:09:42 +0000
committersimonmar <unknown>2004-08-31 13:09:42 +0000
commitb3fbc8674b3fe6769580ee26fa2d5812889e463a (patch)
treeb653fc55ae98df7fc9fb093f77f1031ea9cc58e4 /src/HaddockVersion.hs
parente6982912efacef7a78bc2dc98607622a81566a3f (diff)
[haddock @ 2004-08-31 13:09:42 by simonmar]
Avoid GHC/shell versionitis and create Version.hs
Diffstat (limited to 'src/HaddockVersion.hs')
-rw-r--r--src/HaddockVersion.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/HaddockVersion.hs b/src/HaddockVersion.hs
index a2f51c28..f3090b4e 100644
--- a/src/HaddockVersion.hs
+++ b/src/HaddockVersion.hs
@@ -8,10 +8,10 @@ module HaddockVersion (
projectName, projectVersion, projectUrl
) where
+import Version ( version )
+
projectName, projectUrl :: String
projectName = "Haddock"
projectUrl = "http://www.haskell.org/haddock/"
--- The version comes in via CPP from mk/version.mk
-projectVersion :: String
-projectVersion = HADDOCK_VERSION
+projectVersion = version