module Paths_hums ( version, getBinDir, getLibDir, getDataDir, getLibexecDir, getDataFileName ) where import Data.Version (Version(..)) import System.Environment (getEnv) version :: Version version = Version {versionBranch = [0,2,2], versionTags = []} bindir, libdir, datadir, libexecdir :: FilePath bindir = "/home/bardur/.cabal/bin" libdir = "/home/bardur/.cabal/lib/hums-0.2.2/ghc-6.10.4" datadir = "/home/bardur/.cabal/share/hums-0.2.2" libexecdir = "/home/bardur/.cabal/libexec" getBinDir, getLibDir, getDataDir, getLibexecDir :: IO FilePath getBinDir = catch (getEnv "hums_bindir") (\_ -> return bindir) getLibDir = catch (getEnv "hums_libdir") (\_ -> return libdir) getDataDir = catch (getEnv "hums_datadir") (\_ -> return datadir) getLibexecDir = catch (getEnv "hums_libexecdir") (\_ -> return libexecdir) getDataFileName :: FilePath -> IO FilePath getDataFileName name = do dir <- getDataDir return (dir ++ "/" ++ name)