tags 806118 + patch
thanks

> dh_install: usr/share/doc/libtiff-doc/ChangeLog exists in debian/tmp but is 
> not installed to anywhere
> dh_install: usr/share/doc/libtiff-doc/TODO exists in debian/tmp but is not 
> installed to anywhere
> dh_install: usr/share/doc/libtiff-doc/VERSION exists in debian/tmp but is not 
> installed to anywhere
> # tiffgt is in libtiff-opengl so libtiff-tools doesn't have to have
> # all the X and opengl dependencies.
> rm debian/libtiff-tools/usr/bin/tiffgt
> rm: cannot remove 'debian/libtiff-tools/usr/bin/tiffgt': No such file or 
> directory
> debian/rules:22: recipe for target 'override_dh_install' failed

Explanation: we are creating arch-independent packages only, so
debian/libtiff-tools/[...] does not exist because "libtiff-tools"
is arch-dependent.

The following patch is enough to avoid the error and fix the bug.

Thanks.
--- a/debian/rules
+++ b/debian/rules
@@ -26,5 +26,5 @@ override_dh_install:
        dh_install --list-missing -X.la
        # tiffgt is in libtiff-opengl so libtiff-tools doesn't have to have
        # all the X and opengl dependencies.
-       rm debian/libtiff-tools/usr/bin/tiffgt
-       rm debian/libtiff-tools/usr/share/man/man1/tiffgt.1*
+       rm -f debian/libtiff-tools/usr/bin/tiffgt
+       rm -f debian/libtiff-tools/usr/share/man/man1/tiffgt.1*

Reply via email to