diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-09-11 20:26:35 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-09-11 20:26:35 +0000 |
commit | 56079e865392ae783992a8d200dfb2f4fdbac277 (patch) | |
tree | bcee864bfbd36f73042258dfd0e3327b9212ef9a | |
parent | Releasing debian version 1.5-2. (diff) | |
download | libnvme-56079e865392ae783992a8d200dfb2f4fdbac277.tar.xz libnvme-56079e865392ae783992a8d200dfb2f4fdbac277.zip |
Making workaround for certain meson versions conditional in rules to fix (now) FTBFS in sid (Closes: #1051722).
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-x | debian/rules | 7 |
1 files 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 {} + |