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

Re: Getting dh_install to do what we need



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
[...]

Hello,

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:

libfoo42.install
-debian/tmp/usr/lib/lib*.so.*
+debian/tmp/usr/lib/*/lib*.so.*

libfoo-dev.install
-debian/tmp/usr/lib/lib*.so
-debian/tmp/usr/lib/lib*.a
-debian/tmp/usr/lib/pkgconfig
+debian/tmp/usr/lib/*/lib*.so
+debian/tmp/usr/lib/*/lib*.a
+debian/tmp/usr/lib/*/pkgconfig

cu andreas


Reply to: