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
signature.asc
Description: OpenPGP digital signature