[libcrypt-u2f-server-perl] 02/06: Use debian/clean instead of override

Xavier Guimard xguimard-guest at moszumanska.debian.org
Mon Sep 25 19:51:14 UTC 2017


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

xguimard-guest pushed a commit to branch master
in repository libcrypt-u2f-server-perl.

commit 0d22086d5f4351ea6b793f8d833b80f17f73df67
Author: Xavier Guimard <Xavier Guimard x.guimard at free.fr>
Date:   Mon Sep 25 21:23:51 2017 +0200

    Use debian/clean instead of override
---
 debian/changelog | 1 -
 debian/clean     | 2 ++
 debian/rules     | 4 ----
 3 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 94824cd..6d931da 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,6 @@
 libcrypt-u2f-server-perl (0.40-1) UNRELEASED; urgency=low
 
   TODO:
-  - (matter of taste): debian/clean instead of the $(RM) in debian/rules?
   - debian/patches/spelling-errors.patch contains more than spelling fixes
     (the two removed .inc files)
   - d/copyright: incomplete
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..6264ef2
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,2 @@
+const-c.inc
+const-xs.inc
diff --git a/debian/rules b/debian/rules
index d491c5b..d8309f6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,3 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
 %:
 	dh $@
-
-override_dh_auto_clean:
-	$(RM) -rf const-c.inc const-xs.inc
-	dh_auto_clean

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcrypt-u2f-server-perl.git



More information about the Pkg-perl-cvs-commits mailing list