aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog2
-rwxr-xr-xdebian/rules4
2 files changed, 6 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 2743496..73403da 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,8 @@ libdbusmenu (12.10.3-0ubuntu1) UNRELEASED; urgency=low
- Convert to dh9; some variables where kept but renamed to brevity.
- Override dh_autoreconf to make sure it calls autogen.sh, and doesn't run
configure.
+ - Clean up unnecessary files we don't want to install, so that dh_install
+ can complete.
* debian/compat: bump to compat level 9.
* debian/libdbusmenu-gtk-doc.install: add the glib-server-nomenu.c example.
diff --git a/debian/rules b/debian/rules
index 7ea788e..b6ab921 100755
--- a/debian/rules
+++ b/debian/rules
@@ -34,6 +34,10 @@ doinstall-%:
override_dh_install:
find debian/tmp -name \*.la -delete
+ # Remove gtk2 copies of dbusmenu-tools (we use the gtk3 build)
+ rm -f debian/tmp/gtk2/usr/lib/x86_64-linux-gnu/dbusmenu-testapp
+ rm -f debian/tmp/gtk2/usr/lib/x86_64-linux-gnu/dbusmenu-dumper
+ rm -f debian/tmp/gtk2/usr/lib/x86_64-linux-gnu/dbusmenu-bench
dh_install $(INSTALL_COMMON_FLAGS) -plibdbusmenu-gtk4 --sourcedir=debian/tmp/gtk2
dh_install $(INSTALL_COMMON_FLAGS) -plibdbusmenu-gtk-dev --sourcedir=debian/tmp/gtk2
dh_install $(INSTALL_COMMON_FLAGS) -plibdbusmenu-gtk-doc --sourcedir=debian/tmp/gtk2