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

Re: [Pkg-haskell-commits] darcs: haskell-debian: Move installation of binaries and man pages from rules file to new file haskell-debian-utils.install.



Hi Erik.

Excerpts from Erik de Castro Lopo's message of Seg Mai 10 08:03:42 -0300 2010:
> Joachim Breitner wrote:
(...)
> > Am Montag, den 10.05.2010, 05:21 +0000 schrieb Erik de Castro Lopo:
> >  
> > > diff -rN -u old-haskell-debian/haskell-debian-utils.install new-haskell-debian/haskell-debian-utils.install
> > > --- old-haskell-debian/haskell-debian-utils.install    1970-01-01 00:00:00.000000000 +0000
> > > +++ new-haskell-debian/haskell-debian-utils.install    2010-05-10 05:21:39.577505068 +0000
> > > @@ -0,0 +1,5 @@
> > > +dist-ghc6/build/apt-get-build-depends/apt-get-build-depends        usr/bin/
> > > +dist-ghc6/build/cabal-debian/cabal-debian                        usr/bin/
> > > +dist-ghc6/build/debian-report/debian-report                        usr/bin/
> > > +dist-ghc6/build/fakechanges/fakechanges                            usr/bin/
> > > +debian/*.1                                                        usr/share/man/man1/
> > 
> > not sure if it makes a difference, but you can use
> > debian/haskell-debian-utils.manpages
> > to install manpages (see dh_installmanpage).
> 
> I was aware of that, but the thought haskell-debian-utils.install
> solution would work for both the binaries and the man pages.

Yes, but from the documentation point of view, it's better to use .manpages to
install manpages.  If you simply look at the files in debian/ and see a
.manpages file, you'll know that the package installs a manpage.  This is not
the case when you only see a .install file.

Greetings.
(...)

-- 
marcot
http://wiki.debian.org/MarcoSilva

Attachment: signature.asc
Description: PGP signature


Reply to: