From 2e668b8a7befac97a4fd4c1d928fc55a4f3eefc3 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Sun, 30 Jun 2019 11:07:59 -0400 Subject: switch license to MIT/Expat --- dist/build/autogen/Paths_openpgp_asciiarmor.hs | 50 ++++++++++++++++++++++ .../benchmark/autogen/Paths_openpgp_asciiarmor.hs | 50 ++++++++++++++++++++++ .../tests/autogen/Paths_openpgp_asciiarmor.hs | 50 ++++++++++++++++++++++ 3 files changed, 150 insertions(+) create mode 100644 dist/build/autogen/Paths_openpgp_asciiarmor.hs create mode 100644 dist/build/benchmark/autogen/Paths_openpgp_asciiarmor.hs create mode 100644 dist/build/tests/autogen/Paths_openpgp_asciiarmor.hs (limited to 'dist/build') diff --git a/dist/build/autogen/Paths_openpgp_asciiarmor.hs b/dist/build/autogen/Paths_openpgp_asciiarmor.hs new file mode 100644 index 0000000..9fb1a00 --- /dev/null +++ b/dist/build/autogen/Paths_openpgp_asciiarmor.hs @@ -0,0 +1,50 @@ +{-# LANGUAGE CPP #-} +{-# LANGUAGE NoRebindableSyntax #-} +{-# OPTIONS_GHC -fno-warn-missing-import-lists #-} +module Paths_openpgp_asciiarmor ( + version, + getBinDir, getLibDir, getDynLibDir, getDataDir, getLibexecDir, + getDataFileName, getSysconfDir + ) where + +import qualified Control.Exception as Exception +import Data.Version (Version(..)) +import System.Environment (getEnv) +import Prelude + +#if defined(VERSION_base) + +#if MIN_VERSION_base(4,0,0) +catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a +#else +catchIO :: IO a -> (Exception.Exception -> IO a) -> IO a +#endif + +#else +catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a +#endif +catchIO = Exception.catch + +version :: Version +version = Version [0,1,1] [] +bindir, libdir, dynlibdir, datadir, libexecdir, sysconfdir :: FilePath + +bindir = "/home/clint/tmp/temp-tardbus/bin" +libdir = "/home/clint/tmp/temp-tardbus/lib/x86_64-linux-ghc-8.4.4/openpgp-asciiarmor-0.1.1-KE0XG6usiGJ3OyLbw5mHNs" +dynlibdir = "/home/clint/tmp/temp-tardbus/lib/x86_64-linux-ghc-8.4.4" +datadir = "/home/clint/tmp/temp-tardbus/share/x86_64-linux-ghc-8.4.4/openpgp-asciiarmor-0.1.1" +libexecdir = "/home/clint/tmp/temp-tardbus/libexec/x86_64-linux-ghc-8.4.4/openpgp-asciiarmor-0.1.1" +sysconfdir = "/home/clint/tmp/temp-tardbus/etc" + +getBinDir, getLibDir, getDynLibDir, getDataDir, getLibexecDir, getSysconfDir :: IO FilePath +getBinDir = catchIO (getEnv "openpgp_asciiarmor_bindir") (\_ -> return bindir) +getLibDir = catchIO (getEnv "openpgp_asciiarmor_libdir") (\_ -> return libdir) +getDynLibDir = catchIO (getEnv "openpgp_asciiarmor_dynlibdir") (\_ -> return dynlibdir) +getDataDir = catchIO (getEnv "openpgp_asciiarmor_datadir") (\_ -> return datadir) +getLibexecDir = catchIO (getEnv "openpgp_asciiarmor_libexecdir") (\_ -> return libexecdir) +getSysconfDir = catchIO (getEnv "openpgp_asciiarmor_sysconfdir") (\_ -> return sysconfdir) + +getDataFileName :: FilePath -> IO FilePath +getDataFileName name = do + dir <- getDataDir + return (dir ++ "/" ++ name) diff --git a/dist/build/benchmark/autogen/Paths_openpgp_asciiarmor.hs b/dist/build/benchmark/autogen/Paths_openpgp_asciiarmor.hs new file mode 100644 index 0000000..52173b0 --- /dev/null +++ b/dist/build/benchmark/autogen/Paths_openpgp_asciiarmor.hs @@ -0,0 +1,50 @@ +{-# LANGUAGE CPP #-} +{-# LANGUAGE NoRebindableSyntax #-} +{-# OPTIONS_GHC -fno-warn-missing-import-lists #-} +module Paths_openpgp_asciiarmor ( + version, + getBinDir, getLibDir, getDynLibDir, getDataDir, getLibexecDir, + getDataFileName, getSysconfDir + ) where + +import qualified Control.Exception as Exception +import Data.Version (Version(..)) +import System.Environment (getEnv) +import Prelude + +#if defined(VERSION_base) + +#if MIN_VERSION_base(4,0,0) +catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a +#else +catchIO :: IO a -> (Exception.Exception -> IO a) -> IO a +#endif + +#else +catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a +#endif +catchIO = Exception.catch + +version :: Version +version = Version [0,1,1] [] +bindir, libdir, dynlibdir, datadir, libexecdir, sysconfdir :: FilePath + +bindir = "/home/clint/tmp/temp-tardbus/bin" +libdir = "/home/clint/tmp/temp-tardbus/lib/x86_64-linux-ghc-8.4.4/openpgp-asciiarmor-0.1.1-KE0XG6usiGJ3OyLbw5mHNs-benchmark" +dynlibdir = "/home/clint/tmp/temp-tardbus/lib/x86_64-linux-ghc-8.4.4" +datadir = "/home/clint/tmp/temp-tardbus/share/x86_64-linux-ghc-8.4.4/openpgp-asciiarmor-0.1.1" +libexecdir = "/home/clint/tmp/temp-tardbus/libexec/x86_64-linux-ghc-8.4.4/openpgp-asciiarmor-0.1.1" +sysconfdir = "/home/clint/tmp/temp-tardbus/etc" + +getBinDir, getLibDir, getDynLibDir, getDataDir, getLibexecDir, getSysconfDir :: IO FilePath +getBinDir = catchIO (getEnv "openpgp_asciiarmor_bindir") (\_ -> return bindir) +getLibDir = catchIO (getEnv "openpgp_asciiarmor_libdir") (\_ -> return libdir) +getDynLibDir = catchIO (getEnv "openpgp_asciiarmor_dynlibdir") (\_ -> return dynlibdir) +getDataDir = catchIO (getEnv "openpgp_asciiarmor_datadir") (\_ -> return datadir) +getLibexecDir = catchIO (getEnv "openpgp_asciiarmor_libexecdir") (\_ -> return libexecdir) +getSysconfDir = catchIO (getEnv "openpgp_asciiarmor_sysconfdir") (\_ -> return sysconfdir) + +getDataFileName :: FilePath -> IO FilePath +getDataFileName name = do + dir <- getDataDir + return (dir ++ "/" ++ name) diff --git a/dist/build/tests/autogen/Paths_openpgp_asciiarmor.hs b/dist/build/tests/autogen/Paths_openpgp_asciiarmor.hs new file mode 100644 index 0000000..ff78bf7 --- /dev/null +++ b/dist/build/tests/autogen/Paths_openpgp_asciiarmor.hs @@ -0,0 +1,50 @@ +{-# LANGUAGE CPP #-} +{-# LANGUAGE NoRebindableSyntax #-} +{-# OPTIONS_GHC -fno-warn-missing-import-lists #-} +module Paths_openpgp_asciiarmor ( + version, + getBinDir, getLibDir, getDynLibDir, getDataDir, getLibexecDir, + getDataFileName, getSysconfDir + ) where + +import qualified Control.Exception as Exception +import Data.Version (Version(..)) +import System.Environment (getEnv) +import Prelude + +#if defined(VERSION_base) + +#if MIN_VERSION_base(4,0,0) +catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a +#else +catchIO :: IO a -> (Exception.Exception -> IO a) -> IO a +#endif + +#else +catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a +#endif +catchIO = Exception.catch + +version :: Version +version = Version [0,1,1] [] +bindir, libdir, dynlibdir, datadir, libexecdir, sysconfdir :: FilePath + +bindir = "/home/clint/tmp/temp-tardbus/bin" +libdir = "/home/clint/tmp/temp-tardbus/lib/x86_64-linux-ghc-8.4.4/openpgp-asciiarmor-0.1.1-KE0XG6usiGJ3OyLbw5mHNs-tests" +dynlibdir = "/home/clint/tmp/temp-tardbus/lib/x86_64-linux-ghc-8.4.4" +datadir = "/home/clint/tmp/temp-tardbus/share/x86_64-linux-ghc-8.4.4/openpgp-asciiarmor-0.1.1" +libexecdir = "/home/clint/tmp/temp-tardbus/libexec/x86_64-linux-ghc-8.4.4/openpgp-asciiarmor-0.1.1" +sysconfdir = "/home/clint/tmp/temp-tardbus/etc" + +getBinDir, getLibDir, getDynLibDir, getDataDir, getLibexecDir, getSysconfDir :: IO FilePath +getBinDir = catchIO (getEnv "openpgp_asciiarmor_bindir") (\_ -> return bindir) +getLibDir = catchIO (getEnv "openpgp_asciiarmor_libdir") (\_ -> return libdir) +getDynLibDir = catchIO (getEnv "openpgp_asciiarmor_dynlibdir") (\_ -> return dynlibdir) +getDataDir = catchIO (getEnv "openpgp_asciiarmor_datadir") (\_ -> return datadir) +getLibexecDir = catchIO (getEnv "openpgp_asciiarmor_libexecdir") (\_ -> return libexecdir) +getSysconfDir = catchIO (getEnv "openpgp_asciiarmor_sysconfdir") (\_ -> return sysconfdir) + +getDataFileName :: FilePath -> IO FilePath +getDataFileName name = do + dir <- getDataDir + return (dir ++ "/" ++ name) -- cgit v1.2.3