1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-24 08:05:45 +01:00

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
This commit is contained in:
Andreas Metzler
2010-08-16 16:34:55 +02:00
committed by Carlos R. Mafra
parent baef1646ac
commit eae99ee833

6
debian/rules vendored
View File

@@ -184,10 +184,10 @@ binary-arch: build
dh_compress -a dh_compress -a
dh_fixperms -a dh_fixperms -a
cd debian && find -name \*.la -exec chmod a-X {} \; cd debian && find -name \*.la -exec chmod a-X {} \;
dh_installdeb -a
#dh_makeshlibs -p$(LIBWRASTER) -V '$(LIBWRASTER) $(libwraster_deps)' #dh_makeshlibs -p$(LIBWRASTER) -V '$(LIBWRASTER) $(libwraster_deps)'
dh_makeshlibs dh_makeshlibs -a
dh_shlibdeps dh_installdeb -a
dh_shlibdeps -a
dh_gencontrol -a dh_gencontrol -a
dh_md5sums -a dh_md5sums -a
find debian -type d -empty -print0 | xargs -0r rm -rf find debian -type d -empty -print0 | xargs -0r rm -rf