diff options
author | Moritz Angermann <moritz.angermann@gmail.com> | 2017-11-20 19:47:59 +0800 |
---|---|---|
committer | Alexander Biehl <alexbiehl@gmail.com> | 2017-11-20 12:47:59 +0100 |
commit | 04fd3e021cfe04eaaa470be4ae8408a417821864 (patch) | |
tree | adc9e6b2a83f25522863ed6eaffc0a3699300054 /haddock.cabal | |
parent | 20f47765f23251a33eab157d80e7c32b7f1d5528 (diff) |
Add autogen-modules (#706)
> Packages using 'cabal-version: >= 1.25' and the autogenerated module Paths_* must include it also on the 'autogen-modules' field besides 'exposed-modules' and 'other-modules'. This specifies that the module does not come with the package and is generated on setup. Modules built with a custom Setup.hs script also go here to ensure that commands like sdist don't fail.
# Conflicts:
# haddock.cabal
Diffstat (limited to 'haddock.cabal')
-rw-r--r-- | haddock.cabal | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/haddock.cabal b/haddock.cabal index 283b2a42..53a077cd 100644 --- a/haddock.cabal +++ b/haddock.cabal @@ -146,6 +146,10 @@ executable haddock Haddock.Convert Paths_haddock + + autogen-modules: + Paths_haddock + else -- in order for haddock's advertised version number to have proper meaning, -- we pin down to a single haddock-api version. |