diff options
Diffstat (limited to 'dist/build/autogen/Paths_hmj.hs')
-rw-r--r-- | dist/build/autogen/Paths_hmj.hs | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/dist/build/autogen/Paths_hmj.hs b/dist/build/autogen/Paths_hmj.hs deleted file mode 100644 index 76f64cd..0000000 --- a/dist/build/autogen/Paths_hmj.hs +++ /dev/null @@ -1,35 +0,0 @@ -module Paths_hmj ( - version, - getBinDir, getLibDir, getDataDir, getLibexecDir, - getDataFileName, getSysconfDir - ) where - -import qualified Control.Exception as Exception -import Data.Version (Version(..)) -import System.Environment (getEnv) -import Prelude - -catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a -catchIO = Exception.catch - -version :: Version -version = Version [0,1,0,0] [] -bindir, libdir, datadir, libexecdir, sysconfdir :: FilePath - -bindir = "/home/joe/.cabal/bin" -libdir = "/home/joe/.cabal/lib/x86_64-linux-ghc-7.10.3/hmj-0.1.0.0-2JClTFhqsNQ7p2xTwE8Zcb" -datadir = "/home/joe/.cabal/share/x86_64-linux-ghc-7.10.3/hmj-0.1.0.0" -libexecdir = "/home/joe/.cabal/libexec" -sysconfdir = "/home/joe/.cabal/etc" - -getBinDir, getLibDir, getDataDir, getLibexecDir, getSysconfDir :: IO FilePath -getBinDir = catchIO (getEnv "hmj_bindir") (\_ -> return bindir) -getLibDir = catchIO (getEnv "hmj_libdir") (\_ -> return libdir) -getDataDir = catchIO (getEnv "hmj_datadir") (\_ -> return datadir) -getLibexecDir = catchIO (getEnv "hmj_libexecdir") (\_ -> return libexecdir) -getSysconfDir = catchIO (getEnv "hmj_sysconfdir") (\_ -> return sysconfdir) - -getDataFileName :: FilePath -> IO FilePath -getDataFileName name = do - dir <- getDataDir - return (dir ++ "/" ++ name) |