From 56079e865392ae783992a8d200dfb2f4fdbac277 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 11 Sep 2023 22:26:35 +0200 Subject: 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(-) (limited to 'debian/rules') 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 {} + -- cgit v1.2.3