Gioele Barabucci:
On 12/10/23 14:11, Niels Thykier wrote:
```
debian/tmp/usr/share/man/*/man1/foo.1
```

is correctly expanded by dh_install (`d/pkg.install`) but it causes dh_installman (`d/pkg.manpages`) to fail.

Whatever problem you are experiencing, it is *not* that `dh_installman`does not support globs, because definitely does as debhelper itself would FTBFS otherwise (`debian/debhelper.mapages` includes globs).

Hi,

maybe it is the combination of dh_installman + dh-exec?

[...]

Regards,


Behaviour is as documented in `man 7 debhelper` under the "Executable debhelper config files":

"""
Executable debhelper config files


       When  using executable debhelper config files, please be aware of
       the following:

         * [...]

           Otherwise,  the  output will be used exactly as‐is.  Notably,
           debhelper will **not expand  wildcards** or  strip  comments
           or strip whitespace in the output.
"""
(emphasis mine)


As I see it, debhelper is working exactly as it is documented and therefore as it is expected to do. This restriction of the executable config feature has been there from "day 1" of supporting executable files (from the days of debhelper/9) and is unlikely to change given the current architecture of debhelper.

Best regards,
Niels

Reply via email to