[debhelper-devel] Bug#703201: Add an option to process per-arch/per-os *and* normal install files

Dmitry Shachnev mitya57 at debian.org
Tue Sep 1 16:49:06 UTC 2015


Hi Gergely,

On Tue, 01 Sep 2015 10:56:17 +0200, Gergely Nagy wrote:
> This can easily be done with dh-exec now, with much nicer syntax than
> what I proposed two years ago:
>
> Instead of foo.install-common, foo.install.$os, foo.install.$arch, one
> can use a single executable foo.install file, with some special markup:

Yes, we (the Qt maintainers) have already been thinking about using dh-exec.
We don't want to change existing packages as our current code works fine,
but we will definitely look at it if we need it in our next packages.

> Since I have a little bit of free time, how about this:
>
> If foo.install.common exists, auto-include foo.install.$arch and
> foo.install.$os (if they exist), provided that foo.install is executable
> and uses dh-exec.
>
> Alternatively, an executable foo.install, and executable
> foo.install.$arch/$os could also be a trigger, so foo.install.common
> wouldn't be required, and could be rolled into foo.install.

I don't think this is needed. A single file with architecture- or
OS-specific lines is much simplier to use and maintain.

Thanks for your help!

--
Dmitry Shachnev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/debhelper-devel/attachments/20150901/939e4bd1/attachment-0002.sig>


More information about the debhelper-devel mailing list