[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Getting dh_install to do what we need



On Thu, Dec 08, 2011 at 06:51:51PM +0100, Andreas Metzler wrote:
> Josselin Mouette <joss@debian.org> wrote:
> [...]
> > So, to sum it up. Before, you would do in debian/rules: 
> >        sed s/@DEB_HOST_MULTIARCH@/${DEB_HOST_MULTIARCH}/ debian/libfoo.install.in > debian/libfoo.install
> [...]

> a little bit beside the point, but since the example seems to propagate
> through the whole thread I feel the need to mention it anyway:

> 999 out of a 1000 library packages will not need to use tricks like
> this for conversion to multi-arch. Usually a simple wildcard works:

Your estimate is off by several orders of magnitude.  Out of approximately
200 libraries converted so far, I'm sure at least 6-10 of them have needed
this trick.

Usually this is because they need to create symlinks with .links files, so
you have to know the exact name, not a wildcard; or because they need to use
dh_install to move files to a directory other than where the upstream target
installs them, so they need to be able to represent the target directory
name.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org

Attachment: signature.asc
Description: Digital signature


Reply to: