From 78487038fa10dfee468b3214661487df9fc1a662 Mon Sep 17 00:00:00 2001 From: Hideki Yamane Date: Fri, 27 Mar 2015 02:06:10 +0900 Subject: [PATCH] use debian/clean file, instead of writing in rules --- debian/clean | 5 +++++ debian/rules | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 debian/clean diff --git a/debian/clean b/debian/clean new file mode 100644 index 00000000..487f200f --- /dev/null +++ b/debian/clean @@ -0,0 +1,5 @@ +Makefile* +usr +bin +tmp +src/bin/BuiltHamcoreFiles diff --git a/debian/rules b/debian/rules index b252f241..ac9d03e7 100755 --- a/debian/rules +++ b/debian/rules @@ -9,9 +9,6 @@ override_dh_auto_configure: if [ $(shell uname -m) = 'i686' ]; then echo "1\n1\n" | ./configure; fi if [ $(shell uname -m) = 'armv6l' ]; then echo "1\n1\n" | ./configure; fi -override_dh_auto_clean: - rm -fr Makefile* usr bin tmp src/bin/BuiltHamcoreFiles - override_dh_auto_install: patch -f < debian/makefile.patch mkdir -p usr/bin