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

Re: using symlinks for manpages



Hi Nico!

Nico Golde <nico@ngolde.de>:
> I package a program which creates symlinks with different
> names which point to one man page. lintian complains that
> the files are not gzipped. if i only rename them to .gz
> lintain says:
> E: mutt-ng: manpage-not-compressed-with-gzip
> usr/share/man/man1/muttngbug.1.gz E: mutt-ng: empty-manual-page
> usr/share/man/man1/muttngbug.1.gz
>
Are you using debhelper?

I have also a package with symlinks and do dh_link before dh_compress in 
binary-arch target:
...
  dh_installman
  dh_installchangelogs ChangeLog
  dh_link usr/share/man/de/man1/mpgtx.1 usr/share/man/de/man1/mpgsplit.1 \
          usr/share/man/de/man1/mpgtx.1 usr/share/man/de/man1/mpgcat.1 \
          usr/share/man/de/man1/mpgtx.1 usr/share/man/de/man1/mpgjoin.1 \
          usr/share/man/de/man1/mpgtx.1 usr/share/man/de/man1/mpginfo.1 \
          usr/share/man/de/man1/mpgtx.1 usr/share/man/de/man1/mpgdemux.1
  dh_strip
  dh_compress
...

Lintian likes it. ;-)


Kindly regards,
Erik


-- 
 www.ErikSchanze.de *********************************************
 Bitte keine HTML-E-Mails! No HTML mails, please! Limit: 100 kB *
      * Linux-Info-Tag in Dresden, am 29. Oktober 2005          *
             Info: http://www.linux-info-tag.de                 *

Attachment: pgpzUEUgrxIGf.pgp
Description: PGP signature


Reply to: