[linux-tools] 10/13: debian/rules: Exclude .git from maintainerclean rule

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Thu Nov 5 22:56:29 UTC 2015


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

benh pushed a commit to branch jessie
in repository linux-tools.

commit 5c1c5d53c2b00b30a5bf44c92f74126363c0b2b1
Author: Ben Hutchings <ben at decadent.org.uk>
Date:   Tue Aug 11 19:09:44 2015 +0200

    debian/rules: Exclude .git from maintainerclean rule
    
    (cherry picked from commit 1e84c2a729c4b34c925c285de1277950a6accd2f)
---
 debian/changelog | 1 +
 debian/rules     | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 1620ab7..01e8912 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ linux-tools (3.16-4) UNRELEASED; urgency=medium
   * Adjust for migration to git:
     - Update .gitignore files
     - debian/control: Update Vcs-* fields
+    - debian/rules: Exclude .git from maintainerclean rule
 
  -- Ben Hutchings <ben at decadent.org.uk>  Wed, 04 Nov 2015 12:49:40 +0000
 
diff --git a/debian/rules b/debian/rules
index b04b1de..484f14b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -41,7 +41,7 @@ endif
 
 maintainerclean:
 	rm -f debian/control debian/control.md5sum debian/rules.gen
-	rm -rf $(filter-out debian .svk .svn, $(wildcard * .[^.]*))
+	rm -rf $(filter-out debian .svk .svn .git, $(wildcard * .[^.]*))
 
 clean: debian/control
 	dh_testdir

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



More information about the Kernel-svn-changes mailing list