diff options
author | Manoj Srivastava <srivasta@debian.org> | 2018-02-16 12:45:46 -0800 |
---|---|---|
committer | Manoj Srivastava <srivasta@debian.org> | 2018-02-16 12:45:46 -0800 |
commit | f808e335dec3ae4048f08421a69a7c64b8501576 (patch) | |
tree | 7be8efb0b1ed25983ea178f6b32dfcf8fa3c7442 /debian/rules | |
parent | f67d0e7476b4c9ecfda3f311ba8d46659f5b2727 (diff) |
[master]: Fix a couple of FTBS bugsdebian/2.6.4-4archive/debian/2.6.4-4
Signed-off-by: Manoj Srivastava <srivasta@debian.org>
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules index 6b82df1..1586979 100755 --- a/debian/rules +++ b/debian/rules @@ -50,10 +50,14 @@ override_dh_auto_configure: sed -i -e 's/^dist_doc_DATA[[:space:]]*=.*/dist_doc_DATA=/' doc/Makefile override_dh_install: + test ! -d debian/tmp/lib/$(DEB_HOST_MULTIARCH) || \ + find debian/tmp/lib/$(DEB_HOST_MULTIARCH) -type f \ + -name \*.la -exec rm {} \; dh_install rm -f debian/flex/usr/share/doc/flex/flex.pdf ifneq (,$(filter flex, $(shell dh_listpackages))) - test ! -f debian/flex/usr/share/doc/flex/COPYING || rm -f debian/flex/usr/share/doc/flex/COPYING + test ! -f debian/flex/usr/share/doc/flex/COPYING || \ + rm -f debian/flex/usr/share/doc/flex/COPYING endif dh_link @@ -61,7 +65,8 @@ endif override_dh_installdocs: dh_installdocs ifneq (,$(filter flex-doc, $(shell dh_listpackages))) - mv debian/flex-doc/usr/share/doc/flex-doc/flex.html debian/flex-doc/usr/share/doc/flex-doc/html + mv debian/flex-doc/usr/share/doc/flex-doc/flex.html \ + debian/flex-doc/usr/share/doc/flex-doc/html endif override_dh_auto_build: |