diff options
author | Tuowen Zhao <ztuowen@gmail.com> | 2016-05-22 23:05:26 -0500 |
---|---|---|
committer | Tuowen Zhao <ztuowen@gmail.com> | 2016-05-22 23:05:26 -0500 |
commit | 27d29076135ab9bb8903c9d64b0988c3b366844d (patch) | |
tree | eb23138dd04a56f5b43c3f5506b2f238ee1318c1 /dist/build/autogen/Paths_hmj.hs | |
parent | 17468f6a5d44edaa11df288050273dc5e58e1b3c (diff) | |
download | hmj-27d29076135ab9bb8903c9d64b0988c3b366844d.tar.gz hmj-27d29076135ab9bb8903c9d64b0988c3b366844d.tar.bz2 hmj-27d29076135ab9bb8903c9d64b0988c3b366844d.zip |
modified gitignore
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) |