Making workaround for certain meson versions conditional in rules to fix (now) FTBFS in sid (Closes: #1051722).
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
a9cd785dd5
commit
aee9dcb45d
1 changed files with 5 additions and 2 deletions
7
debian/rules
vendored
7
debian/rules
vendored
|
@ -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 {} +
|
||||
|
|
Loading…
Add table
Reference in a new issue