[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#532381: -doc dependencies on haddock



Hi.

Em Ter, 2009-06-09 às 00:48 +0200, Joachim Breitner escreveu:
(...)
> Hi,
> 
> at the moment, if you put 
>  Depends: ${haskell:Depends}
> in debian/control for the -doc package stanza, dh_haskell_prep will add
> this line:
>  Depends: haddock (<< 2.4.2+), haddock (>= 2.4.2)

At first I could not found where the code about this was:

marcot@zezinho:~/codigo/debian/haskell-devscripts/haskell-devscripts$
grep doc $(grep -l haskell:Depends * | grep -v \.pod)
dh_haskell_depends:#        disclaimer in the documentation and/or other
materials provided

Then I tryed to reproduce it with haskell-ghc-paths, and I couldn't:

marcot@zezinho:~/codigo/debian/haskell-ghc-paths/build$ tail -13
ghc-paths-0.1.0.5/debian/control
Package: libghc6-ghc-paths-doc
Section: doc
Architecture: all
Depends: ${misc:Depends}, ${haskell:Depends}
Recommends: ghc6-doc
Suggests: libghc6-ghc-paths-dev (= ${binary:Version})
Description: Knowledge of GHC's installation directories; documentation
 This package provides the documentation for a library for the Haskell
 programming language.
 See http://www.haskell.org/ for more information on Haskell.
 .
 This package provides constants with the installation directories of
the
 Glasgow Haskell Compiler.
marcot@zezinho:~/codigo/debian/haskell-ghc-paths/build$ ar -x
libghc6-ghc-paths-doc_0.1.0.5-1_all.deb
marcot@zezinho:~/codigo/debian/haskell-ghc-paths/build$ tar xzf
control.tar.gz
marcot@zezinho:~/codigo/debian/haskell-ghc-paths/build$ grep Depends
control
marcot@zezinho:~/codigo/debian/haskell-ghc-paths/build$ 

There's no dependency in the -doc generated package.  Can you reproduce
it?

Greetings.

-- 
marcot
http://marcot.iaaeee.org/


Reply to: