From eae99ee8337b38edd684dcf0ad9d37360b5e9f75 Mon Sep 17 00:00:00 2001 From: Andreas Metzler Date: Mon, 16 Aug 2010 16:34:55 +0200 Subject: [PATCH] invoke dh_installdeb after dh_makeshlibs lintian says W: wmaker source: debian-rules-calls-debhelper-in-odd-order dh_makeshlibs and indeed invoking dh_installdeb (which install the maintainerscripts) before dh_makeshlibs can add the ldconfig call to them causes these errors: E: libwutil1: postinst-must-call-ldconfig usr/lib/libWUtil.so.1.0.2 E: libwings2: postinst-must-call-ldconfig usr/lib/libWINGs.so.2.0.1 --- debian/rules | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/rules b/debian/rules index 5a727223..54871c35 100755 --- a/debian/rules +++ b/debian/rules @@ -184,10 +184,10 @@ binary-arch: build dh_compress -a dh_fixperms -a cd debian && find -name \*.la -exec chmod a-X {} \; - dh_installdeb -a #dh_makeshlibs -p$(LIBWRASTER) -V '$(LIBWRASTER) $(libwraster_deps)' - dh_makeshlibs - dh_shlibdeps + dh_makeshlibs -a + dh_installdeb -a + dh_shlibdeps -a dh_gencontrol -a dh_md5sums -a find debian -type d -empty -print0 | xargs -0r rm -rf