Source: libkml
Version: 1.3.0-4
Severity: minor
Tags: patch

Hi,

The find(1) call in override_dh_auto_install will not delete all
matched files as -delete has high precedence; it will "bind" to
the -name CMakeLists.txt part only.

Patch attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
diff --git a/debian/rules b/debian/rules
index cc19320..6452227 100755
--- a/debian/rules
+++ b/debian/rules
@@ -29,7 +29,7 @@ override_dh_auto_install:
        dh_auto_install
 
        # Remove autotools stuff
-       find $(CURDIR)/examples/ -type f -name "Makefile*" -or -name 
"CMakeLists.txt" -delete
+       find $(CURDIR)/examples/ -type f \( -name "Makefile*" -or -name 
"CMakeLists.txt" \) -delete
 
 override_dh_install:
        dh_install --autodest --list-missing

Reply via email to