diff options
author | Joe Crayne <joe@jerkface.net> | 2019-10-13 04:52:46 -0400 |
---|---|---|
committer | Joe Crayne <joe@jerkface.net> | 2019-10-13 04:52:46 -0400 |
commit | dae6c79e02d01d0fb6fa0dbf071e69ab62b31ba0 (patch) | |
tree | f0dfc8d821ab149595d7ffc61f4c510f4c6ea7f4 /dist/build/tests/autogen/Paths_openpgp_asciiarmor.hs | |
parent | 140d68b2a1cae9a66e056110de29b66a10335878 (diff) |
Remove build artificates from vcs.
Diffstat (limited to 'dist/build/tests/autogen/Paths_openpgp_asciiarmor.hs')
-rw-r--r-- | dist/build/tests/autogen/Paths_openpgp_asciiarmor.hs | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/dist/build/tests/autogen/Paths_openpgp_asciiarmor.hs b/dist/build/tests/autogen/Paths_openpgp_asciiarmor.hs deleted file mode 100644 index ff78bf7..0000000 --- a/dist/build/tests/autogen/Paths_openpgp_asciiarmor.hs +++ /dev/null | |||
@@ -1,50 +0,0 @@ | |||
1 | {-# LANGUAGE CPP #-} | ||
2 | {-# LANGUAGE NoRebindableSyntax #-} | ||
3 | {-# OPTIONS_GHC -fno-warn-missing-import-lists #-} | ||
4 | module Paths_openpgp_asciiarmor ( | ||
5 | version, | ||
6 | getBinDir, getLibDir, getDynLibDir, getDataDir, getLibexecDir, | ||
7 | getDataFileName, getSysconfDir | ||
8 | ) where | ||
9 | |||
10 | import qualified Control.Exception as Exception | ||
11 | import Data.Version (Version(..)) | ||
12 | import System.Environment (getEnv) | ||
13 | import Prelude | ||
14 | |||
15 | #if defined(VERSION_base) | ||
16 | |||
17 | #if MIN_VERSION_base(4,0,0) | ||
18 | catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a | ||
19 | #else | ||
20 | catchIO :: IO a -> (Exception.Exception -> IO a) -> IO a | ||
21 | #endif | ||
22 | |||
23 | #else | ||
24 | catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a | ||
25 | #endif | ||
26 | catchIO = Exception.catch | ||
27 | |||
28 | version :: Version | ||
29 | version = Version [0,1,1] [] | ||
30 | bindir, libdir, dynlibdir, datadir, libexecdir, sysconfdir :: FilePath | ||
31 | |||
32 | bindir = "/home/clint/tmp/temp-tardbus/bin" | ||
33 | libdir = "/home/clint/tmp/temp-tardbus/lib/x86_64-linux-ghc-8.4.4/openpgp-asciiarmor-0.1.1-KE0XG6usiGJ3OyLbw5mHNs-tests" | ||
34 | dynlibdir = "/home/clint/tmp/temp-tardbus/lib/x86_64-linux-ghc-8.4.4" | ||
35 | datadir = "/home/clint/tmp/temp-tardbus/share/x86_64-linux-ghc-8.4.4/openpgp-asciiarmor-0.1.1" | ||
36 | libexecdir = "/home/clint/tmp/temp-tardbus/libexec/x86_64-linux-ghc-8.4.4/openpgp-asciiarmor-0.1.1" | ||
37 | sysconfdir = "/home/clint/tmp/temp-tardbus/etc" | ||
38 | |||
39 | getBinDir, getLibDir, getDynLibDir, getDataDir, getLibexecDir, getSysconfDir :: IO FilePath | ||
40 | getBinDir = catchIO (getEnv "openpgp_asciiarmor_bindir") (\_ -> return bindir) | ||
41 | getLibDir = catchIO (getEnv "openpgp_asciiarmor_libdir") (\_ -> return libdir) | ||
42 | getDynLibDir = catchIO (getEnv "openpgp_asciiarmor_dynlibdir") (\_ -> return dynlibdir) | ||
43 | getDataDir = catchIO (getEnv "openpgp_asciiarmor_datadir") (\_ -> return datadir) | ||
44 | getLibexecDir = catchIO (getEnv "openpgp_asciiarmor_libexecdir") (\_ -> return libexecdir) | ||
45 | getSysconfDir = catchIO (getEnv "openpgp_asciiarmor_sysconfdir") (\_ -> return sysconfdir) | ||
46 | |||
47 | getDataFileName :: FilePath -> IO FilePath | ||
48 | getDataFileName name = do | ||
49 | dir <- getDataDir | ||
50 | return (dir ++ "/" ++ name) | ||