Package: debhelper
Severity: wishlist

Hi,

a lot of packages have manpages and symlinks to manpages in case a
manpage handles multiple things that need explaining. This needs to be
manually handled in the "debian/manpages" and "debian/links" files.
If a symlink is listed in debian/manpage file symlink is followed and
the file copied.

Would it be possible do change dh_installman's logic to the following:

- first copy all plain files listed in debian/manpages
- then iterate though all symlinks in debian/manpages
  - if the target exists in the target directory, make a symlink
  - otherwise, copy the file

This would save package maintainers from a lot of busy work, and is
fully backwards compatible.

Thanks for considering this.

Greetings
Marc


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.8.11-zgsrv20080 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE=en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages debhelper depends on:
pn  autotools-dev            <none>
pn  dh-autoreconf            <none>
pn  dh-strip-nondeterminism  <none>
ii  dpkg                     1.20.5
ii  dpkg-dev                 1.20.5
pn  dwz                      <none>
ii  file                     1:5.38-5
pn  libdebhelper-perl        <none>
ii  libdpkg-perl             1.20.5
ii  man-db                   2.9.3-2
ii  perl                     5.30.3-4
pn  po-debconf               <none>

debhelper recommends no packages.

Versions of packages debhelper suggests:
pn  dh-make  <none>

Reply via email to