]> git.donarmstrong.com Git - debhelper.git/commitdiff
dh_compress: Don't compress _sources documentation subdirectory as used by python...
authorJoey Hess <joey@kitenet.net>
Sat, 20 Aug 2011 19:13:56 +0000 (15:13 -0400)
committerJoey Hess <joey@kitenet.net>
Sat, 20 Aug 2011 19:13:56 +0000 (15:13 -0400)
debian/changelog
dh_compress

index ffc307849f207ea62907179e8b37303cc01d3945..e449996311205e2a67f1cb5da680a60aaf2651c6 100644 (file)
@@ -1,3 +1,11 @@
+debhelper (8.9.5) UNRELEASED; urgency=low
+
+  * dh_compress: Don't compress _sources documentation subdirectory
+    as used by python-sphinx. Closes: #637492
+    Thanks, Jakub Wilk
+
+ -- Joey Hess <joeyh@debian.org>  Sat, 20 Aug 2011 15:13:01 -0400
+
 debhelper (8.9.4) unstable; urgency=low
 
   * dh: The --before --after --until and --remaining options are deprecated.
index 3eb6ff24ae7fd8fc5c5ee7ed4f07aee3c832538a..ff98cb9de6d9c99785b8f41229708f7485fdb259 100755 (executable)
@@ -108,7 +108,9 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
                                ! -iname "*.gif" ! -iname "*.png" ! -iname "*.jpg" \\
                                ! -iname "*.jpeg" \\
                                2>/dev/null || true;
-                       find usr/share/doc -type f \\( -size +4k -or -name "changelog*" -or -name "NEWS*" \\) \\
+                       find usr/share/doc \\
+                               \\( -type d -name _sources -prune -false \\) -o \\
+                               -type f \\( -size +4k -or -name "changelog*" -or -name "NEWS*" \\) \\
                                \\( -name changelog.html -or ! -iname "*.htm*" \\) \\
                                ! -iname "*.gif" ! -iname "*.png" ! -iname "*.jpg" \\
                                ! -iname "*.jpeg" ! -iname "*.gz" ! -iname "*.taz" \\