Re: How to deal with svgalibg1 | svgalib-dummyg1 and recent debhelper
On Mon, Jun 18, 2001 at 08:46:31PM +0200, Josip Rodin wrote:
> I don't know about those who meddle with the file's contents, but I was not
> amused when I had to figure out what the heck went wrong with my wonderful
> little debian/rules snippet:
>
> dpkg-shlibdeps \
> -dDepends `find $(tmp)/usr/bin -type f ! -name gnomexmms -perm +111` \
> `ls -1 $(tmp)/usr/lib/*.so.*` \
> -dRecommends `find $(tmp)/usr/lib/xmms -type f -name "*.so"` \
> -dSuggests $(tmp)/usr/bin/gnomexmms
>
> (-Txmms.substvars is now necessary.)
You might also change s/dpkg-shlibdeps/dh_shlibdeps --/, and hopefully be
on the safe side even if substvars handling changes again. Or even better
to hide some of the find ugliness:
dh_shlibdeps -X$(tmp)/usr/lib/xmms -X$(tmp)/usr/bin/gnomexmms \
-dRecommends `find $(tmp)/usr/lib/xmms -type f -name "*.so"` \
-dSuggests $(tmp)/usr/bin/gnomexmms
Regards,
Daniel.
Reply to: