[Build-common-hackers] Bug#381590: useless call of dh_makeshlibs

Steffen Joeris Steffen.Joeris at skolelinux.de
Sat Aug 5 16:50:05 UTC 2006

Package: cdbs
Version: 0.4.45
Severity: normal


During the work on our new debian-edu-artwork package I found
the following problem. We use of course cdbs and just have the
following includes:
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk

The debhelper.mk calls dh_makeshlibs which adds an unneeded call to
ldconfig to the maintainer script, because it finds a lib under
/usr/lib/usplash/... , but there is no need for a ldconfig call.
Anyway it seems that the following code in debhelper.mk works not as

is_debug_package=$(if $(patsubst %-dbg,,$(cdbs_curpkg)),,yes)
(line 95)

$(if $(is_debug_package),,dh_makeshlibs -p$(cdbs_curpkg)
(line 203)

Well maybe I am wrong and Peter can give me another lesson in make :)
but shouldn't that only executed when the package name ends with -dbg?
Well our package is doesn't end with that and so I am a bit surprised
that dh_makeshlibs is called anyway :(

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20060806/43235eb4/attachment.pgp

More information about the Build-common-hackers mailing list