From aee9dcb45d8ef471777a248911f33a6b7b7d1369 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 16 Feb 2025 10:09:41 +0100 Subject: [PATCH] Making workaround for certain meson versions conditional in rules to fix (now) FTBFS in sid (Closes: #1051722). Signed-off-by: Daniel Baumann --- debian/rules | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index 6673d04..b28f7fa 100755 --- a/debian/rules +++ b/debian/rules @@ -10,8 +10,11 @@ override_dh_auto_configure: execute_after_dh_auto_install: # correcting python location - mv debian/tmp/usr/local/lib/python* debian/tmp/usr/lib - rm -rf debian/tmp/usr/local + if [ -e debian/tmp/usr/local/lib ]; \ + then \ + mv debian/tmp/usr/local/lib/python* debian/tmp/usr/lib; \ + rm -rf debian/tmp/usr/local; \ + fi # remove empty manpages find debian/tmp/usr/share/man -type f -empty -exec rm -f {} +