> On Wed, Feb 27, 2019 at 02:08:29PM -0300, Andreas Hasenack wrote:
> > So I thought about using dh-exec, just like
> > https://wiki.debian.org/Multiarch/Implementation#Dynamic_debian.2F.2A_files
> > suggests, but that didn't work.
> > The silly problem is that the triplet x86_64-linux-gnu as a directory
> > is not the same triplet used in the filename: x86_64-linux-gnu !=
> > x86-64-linux-gnu ("-" vs "_")
> > Is there a neat solution to this, other than using "*" for the architecture?
> No, since x86-64-linux-gnu is not a standard name for the architecture. I
> would suggest that you instead simply use the dh-exec substitution for the
> first part of the path, and a glob for the second:
> That should minimize any false-positive matches of the glob.
This seems OK. If you wanted to be more precise, then you could
calculate the appropriate respelling of the architecture name in
debian/rules, stash it in an environment variable, and substitute that
using dh-exec (see dh-exec-subst(1)). But it's probably not worth it.
Colin Watson [email@example.com]
ubuntu-devel mailing list
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel