diff options
Diffstat (limited to 'src/HaddockVersion.hs')
-rw-r--r-- | src/HaddockVersion.hs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/HaddockVersion.hs b/src/HaddockVersion.hs index 0442761f..6617203c 100644 --- a/src/HaddockVersion.hs +++ b/src/HaddockVersion.hs @@ -7,5 +7,8 @@ module HaddockVersion ( projectName, projectVersion, projectUrl ) where projectName = "Haddock" -projectVersion = "0.0" projectUrl = "http://www.haskell.org/haddock" + +-- The version comes in via CPP from mk/version.mk +projectVersion = tail "\ + \ HADDOCK_VERSION" |