
#238: haddock2 is not passed -D__HADDOCK__ or cpp-options ----------------------------------+----------------------------------------- Reporter: ross@soi.city.ac.uk | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: Cabal library | Version: 1.2.3.0 Severity: normal | Resolution: Keywords: | Difficulty: normal Ghcversion: 6.8.2 | Platform: ----------------------------------+----------------------------------------- Comment (by duncan): I thought we wanted to avoid using -DHADDOCK precisely because haddock-2.0 can parse everything that ghc can, and so people should not need cpp hacks. Even if we use -DHADDOCK=2 we'll end up seeing the old workaround code that people show to haddock-0.x. We should be passing the cpp-options of course. IMHO, we should still make Cabal do the pre-processing rather than have ghc do it, but that's part of a larger task. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/238#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects