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

Re: dh_installdocs causes making a /usr/doc link



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 02 Jan 2003 10:18, Marcel Kolaja wrote:
> On Thu, Jan 02, 2003 at 12:52:09AM +0000, Paul Cupis wrote:
> > If you want to use debhelper 4.0.2 and _not_ get the /usr/doc/ symlinks,
> > use the -n option (see dh_installdocs(1)). The buildds, building for
> > unstable,
>
> IMHO this is not the same (in my package it is, but generally no) because
> dh_installdocs does also:
>
> foreach my $fn (keys %doc_ids) {
>         doit("install","-g",0,"-o",0,"-m644","-p","debian/$fn",
>              "$tmp/usr/share/doc-base/$doc_ids{$fn}");
>         if (! $dh{NOSCRIPTS}) {
>                 autoscript($package,"postinst","postinst-doc-base",
>                         "s/#DOC-ID#/$doc_ids{$fn}/",
>                 );
>                 autoscript($package,"prerm","prerm-doc-base",
>                         "s/#DOC-ID#/$doc_ids{$fn}/",
>                 );
>         }
> }

Ah yes, the doc-base stuff. Well, you can use -n if your package doesn't play 
with doc-base. Otherwise it would be worth a) upgrading debhelper, b) 
building in an unstable chroot, c) something else.

Paul Cupis
- -- 
paul@cupis.co.uk

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE+FEZTIzuKV+SHX/kRAj52AJ9NcH3yjRtUBGazw04JOXbKNI/liQCfTwzB
473hqxzDjZg3mAkvthPRPAI=
=zcVM
-----END PGP SIGNATURE-----



Reply to: