Re: Variable in Depends: ??
Previously Marvin Stodolsky wrote:
> Per below, I am Debianizing a modem driver package. In principle it
> would be preferable to specify the Depends: for header-sources by
> something like:
> Depends: kernel-header-`uname -r`
Read the documentation someday :)
In debian/control use:
Depends: kernel-header-${kernel:version}
And call dpkg-gencontrol like this:
dpkg-gencontrol -isp -Vkernel:version=$(uname -r)
You can probably tell dh_gencontrol to pass the right options to
dpkg-gencontrol as well.
Wichert.
--
_________________________________________________________________
/ Nothing is fool-proof to a sufficiently talented fool \
| wichert@cistron.nl http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0 2805 3CB8 9250 2FA3 BC2D |
Reply to: