Cabal-1.10.2.0: A framework for packaging Haskell softwareContentsIndex
Distribution.Simple.Build.PathsModule
Portabilityportable
Maintainercabal-devel@haskell.org
Description

Generating the Paths_pkgname module.

This is a module that Cabal generates for the benefit of packages. It enables them to find their version number and find any installed data files at runtime. This code should probably be split off into another module.

Synopsis
generate :: PackageDescription -> LocalBuildInfo -> String
pkgPathEnvVar :: PackageDescription -> String -> String
Documentation
generate :: PackageDescription -> LocalBuildInfo -> String
pkgPathEnvVar
:: PackageDescription
-> Stringpath component; one of "bindir", "libdir", "datadir" or "libexecdir"
-> Stringenvironment variable name
Generates the name of the environment variable controlling the path component of interest.
Produced by Haddock version 2.6.1