[debhelper-devel] [debhelper] 01/02: dh_clean: Skip cleaning in .pc and _darcs

Niels Thykier nthykier at moszumanska.debian.org
Tue Jan 2 08:55:58 UTC 2018


This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository debhelper.

commit 7844105dbb1eba6220fdcc6394f34da3979f87e9
Author: Niels Thykier <niels at thykier.net>
Date:   Mon Jan 1 09:13:26 2018 +0000

    dh_clean: Skip cleaning in .pc and _darcs
    
    Signed-off-by: Niels Thykier <niels at thykier.net>
---
 debian/changelog | 2 ++
 dh_clean         | 3 ++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 17806f8..8fa231f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -45,6 +45,8 @@ debhelper (11.1) UNRELEASED; urgency=medium
     (Closes: #761272)
   * dh_installinit: Perform the autoscript substitutions without
     needing a shell.
+  * dh_clean: Skip cleaning in the '.pc' and '_darcs' directories.
+    (Closes: #566861)
 
  -- Niels Thykier <niels at thykier.net>  Sun, 17 Dec 2017 07:59:18 +0000
 
diff --git a/dh_clean b/dh_clean
index dc1ba5d..15466a9 100755
--- a/dh_clean
+++ b/dh_clean
@@ -162,8 +162,9 @@ if (! $dh{D_FLAG}) {
 	}
 
 	# vcs directories that should not have their contents cleaned
+	# (plus the internal "quilt" directory)
 	my $vcs_dirs=join " -o ", map { "-path .\\*/" . $_ }
-		(".git", ".svn", ".bzr", ".hg", "CVS");
+		(".git", ".svn", ".bzr", ".hg", "CVS", '.pc', '_darcs');
 
 	# Remove other temp files.
 	complex_doit("find . $find_options \\( \\( \\

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git




More information about the debhelper-devel mailing list