Re: Bug#93163: ITP: rep-xmms
On Sun, Apr 08, 2001 at 12:03:55PM -0500, Steve Langasek wrote:
> 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.
Well, I think the question is more of whether it's acceptable to
dynamically generate an overrides file that will be different on every
If it is indeed allowed, I think I could just use an expression such
find /usr/lib/rep -mindepth 1 -maxdepth 1 -type d \! -name `dpkg --status rep | grep '^Version:' | sed -e 's/^Version: \([^-]\+\)\(-.\+\)\?/\1/'`
to generate the path.