diff options
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/debian/rules b/debian/rules index d53ace15..ed57c127 100755 --- a/debian/rules +++ b/debian/rules @@ -133,8 +133,16 @@ override_dh_auto_test: override_dh_auto_install: dh_auto_install - make -C build-debug install-exec DESTDIR=$(CURDIR)/debian/tmp + make -C build-debug install DESTDIR=$(CURDIR)/debian/tmp-debug make -C build-udeb install-exec DESTDIR=$(CURDIR)/debian/tmp-udeb + rm -rf debian/tmp-debug/usr/lib/$(DEB_HOST_MULTIARCH)/dbus-1.0/debug-build/include + rm -rf debian/tmp-debug/usr/lib/$(DEB_HOST_MULTIARCH)/dbus-1.0/debug-build/lib/dbus-1.0/include + rm -rf debian/tmp-debug/usr/lib/$(DEB_HOST_MULTIARCH)/dbus-1.0/debug-build/share/doc + mv debian/tmp-debug/usr/lib/$(DEB_HOST_MULTIARCH)/dbus-1.0/debug-build \ + debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/dbus-1.0/debug-build + rm -rfv debian/tmp-debug + rm -f debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libdbus-1.la + rm -f debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/dbus-1.0/debug-build/lib/libdbus-1.la override_dh_link: dh_link -plibdbus-1-dev lib/$(DEB_HOST_MULTIARCH)/$$(basename $$(readlink debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libdbus-1.so)) usr/lib/$(DEB_HOST_MULTIARCH)/libdbus-1.so @@ -144,9 +152,8 @@ override_dh_link: # the directory in case that's happened, so the .install file doesn't need # modification override_dh_install: - install -d debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/dbus-1.0/test - rm -f debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libdbus-1.la - rm -f debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/dbus-1.0/debug-build/lib/libdbus-1.la + install -d debian/tmp/usr/lib/dbus-1.0/installed-tests/dbus + install -d debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/dbus-1.0/debug-build/lib/dbus-1.0/installed-tests/dbus dh_install -p$(libdbusN) \ "usr/lib/$(DEB_HOST_MULTIARCH)/$(libdbus_soname)*" \ lib/$(DEB_HOST_MULTIARCH) @@ -195,4 +202,5 @@ override_dh_auto_clean: clean: rm -rf debian/tmp-udeb + rm -rf debian/tmp-debug dh $@ $(dh_options) |