aboutsummaryrefslogblamecommitdiff
path: root/haddock-api/src/Haddock/Version.hs
blob: 4e9a581a7f490990fc910bad251887d6dfa1a97a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
                    



                                                                             
  


                                                                             
                        
                                         
 
                  
                                

                                    
                                    
 
                     
                       
                    
                                               
 
                        
                                    
{-# LANGUAGE CPP #-}
-----------------------------------------------------------------------------
-- |
-- Module      :  Haddock.Version
-- Copyright   :  (c) Simon Marlow 2003
-- License     :  BSD-like
--
-- Maintainer  :  haddock@projects.haskell.org
-- Stability   :  experimental
-- Portability :  portable
-----------------------------------------------------------------------------
module Haddock.Version (
  projectName, projectVersion, projectUrl
) where

#ifdef IN_GHC_TREE
import Paths_haddock ( version )
#else
import Paths_haddock_api ( version )
#endif
import Data.Version  ( showVersion )

projectName :: String
projectName = "Haddock"

projectUrl :: String
projectUrl  = "http://www.haskell.org/haddock/"

projectVersion :: String
projectVersion = showVersion version