Add extra-html-files, for installing extra html files
For example, you might have an images/ directory in your project, with images that you refer to from Haddock with: <<images/foo.png>> Then in your Cabal file you would include: extra-html-files: images/*.png And these would both be packaged by sdist, and "cabal haddock" will install them in: ~/.cabal/share/doc/PROJECT/html/images/*.png Fixes #1167
Showing
- Cabal/Distribution/PackageDescription.hs 4 additions, 2 deletionsCabal/Distribution/PackageDescription.hs
- Cabal/Distribution/PackageDescription/Check.hs 5 additions, 4 deletionsCabal/Distribution/PackageDescription/Check.hs
- Cabal/Distribution/PackageDescription/Parse.hs 3 additions, 0 deletionsCabal/Distribution/PackageDescription/Parse.hs
- Cabal/Distribution/Simple/Haddock.hs 15 additions, 6 deletionsCabal/Distribution/Simple/Haddock.hs
- Cabal/Distribution/Simple/SrcDist.hs 3 additions, 1 deletionCabal/Distribution/Simple/SrcDist.hs
Loading
Please register or sign in to comment