Axel Beckert <a...@debian.org> writes:

> Nevertheless dh_install seems to execute debian/zsh-static.install
> already when I'm only building the binary packages zsh, zsh-common and
> zsh-dbg:

Judging by the comments in dh_install, the .install files are looked at
anyway, so that the --{fail,list}-missing thing can work (as that needs
data from *all* packages, if I'm not mistaken).

What could be done, is to teach debhelper to export a few environment
variables that things like dh-exec can use: if dh-exec knew what was
passed in -p, and what package it is working on, then it could switch to
no-op mode if the two don't match. In no-op mode, it would still
generate the same output, but wouldn't have any side effects beside
that.

I think this'd be a reasonable solution for the problem, and if a few
more things could be exported towards the executable scripts, we could
do some more interesting things aswell.

-- 
|8]


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to