Commit 504f3cc0 authored by Duncan Coutts's avatar Duncan Coutts
Browse files

Remove some functions that were deprecated in the last stable series

So they should be safe to remove now.
parent 8c0065e9
......@@ -49,8 +49,6 @@ module Distribution.Simple.LocalBuildInfo (
-- * Installation directories
module Distribution.Simple.InstallDirs,
absoluteInstallDirs, prefixRelativeInstallDirs,
-- ** Deprecated install dir functions
mkLibDir, mkBinDir, mkLibexecDir, mkDataDir,
-- * Build directories
distPref, srcPref,
hscolourPref, haddockPref,
......@@ -147,25 +145,3 @@ prefixRelativeInstallDirs pkg_descr lbi =
(compilerId (compiler lbi))
(installDirTemplates lbi)
-- -----------------------------------------------------------------------------
-- Compatability aliases
mkBinDir :: PackageDescription -> LocalBuildInfo -> CopyDest -> FilePath
mkBinDir pkg_descr lbi copydest =
bindir (absoluteInstallDirs pkg_descr lbi copydest)
{-# DEPRECATED mkBinDir "use bindir :: InstallDirs -> FilePath" #-}
mkLibDir :: PackageDescription -> LocalBuildInfo -> CopyDest -> FilePath
mkLibDir pkg_descr lbi copydest =
libdir (absoluteInstallDirs pkg_descr lbi copydest)
{-# DEPRECATED mkLibDir "use libdir :: InstallDirs -> FilePath" #-}
mkLibexecDir :: PackageDescription -> LocalBuildInfo -> CopyDest -> FilePath
mkLibexecDir pkg_descr lbi copydest =
libexecdir (absoluteInstallDirs pkg_descr lbi copydest)
{-# DEPRECATED mkLibexecDir "use libexecdir :: InstallDirs -> FilePath" #-}
mkDataDir :: PackageDescription -> LocalBuildInfo -> CopyDest -> FilePath
mkDataDir pkg_descr lbi copydest =
datadir (absoluteInstallDirs pkg_descr lbi copydest)
{-# DEPRECATED mkDataDir "use datadir :: InstallDirs -> FilePath" #-}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment