Hi Marco,
Am Dienstag, den 16.06.2009, 08:40 -0300 schrieb Marco Túlio Gontijo e
Silva:
> 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:
>
> mar...@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:
>
> mar...@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.
> mar...@zezinho:~/codigo/debian/haskell-ghc-paths/build$ ar -x
> libghc6-ghc-paths-doc_0.1.0.5-1_all.deb
> mar...@zezinho:~/codigo/debian/haskell-ghc-paths/build$ tar xzf
> control.tar.gz
> mar...@zezinho:~/codigo/debian/haskell-ghc-paths/build$ grep Depends
> control
> mar...@zezinho:~/codigo/debian/haskell-ghc-paths/build$
>
> There's no dependency in the -doc generated package. Can you reproduce
> it?strange. I did reproduce it, as can seen on http://packages.debian.org/sid/haskell-convertible-doc. Note that haskell-convertible does not use hlibrary.make, but rather a debian/rules on it’s own. hlibrary.make does not call _prep or _depends for -doc packages, which should probably be changed, once we add sensible Recommends: or Suggests: there. The relevant code is in dh_haskell_prep, line 60. I hope that gets you on the right tracks. Greetings, Joachim PS: Once my patch in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532760 is merged, such issues (substvars forgotten in debian/rules) will probably turn up earlier. Greetings, Joachim -- Joachim "nomeata" Breitner Debian Developer [email protected] | ICQ# 74513189 | GPG-Keyid: 4743206C JID: [email protected] | http://people.debian.org/~nomeata
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
