Re: Bug#93163: ITP: rep-xmms
On Fri, 6 Apr 2001, Aaron Lehmann wrote:
> > Architecture: i386
> > Architecture: any
> Please note that I'm making corrections. The upstream package was very
> i386-oriented, for some reason.
> The one thing I haven't been able to resolve is the following line
> from the rules file:
> echo "rep-xmms: no-shlibs-control-file usr/lib/rep/i686-pc-linux-gnu/xmms/remote.so" \
> > debian/rep-xmms/usr/share/lintian/overrides/rep-xmms
> Eeeeeek. What's the portable way to do this?
You have access to the variable $DEB_BUILD_GNU_TYPE within debian/rules when
using dpkg-buildpackage or the autobuilders. This will give you a string such
as 'i386-linux' or 'alpha-linux' -- if those map well onto your directory
names, you can use the variables directly; if not, you can mangle them as
needed to give you the appropriate directory names.