From 6e06e669513e3f115e59e5e80d295ae0de6bc90b Mon Sep 17 00:00:00 2001 From: drebs Date: Tue, 31 Jan 2017 18:07:25 -0200 Subject: [pkg] unify and fix override_dh_auto_clean --- debian/rules | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/debian/rules b/debian/rules index 65863e7a..94e917c0 100755 --- a/debian/rules +++ b/debian/rules @@ -6,11 +6,6 @@ %: dh $@ --with systemd --with python2 --namespace=leap.soledad -override_dh_auto_clean: - cd client && python setup.py clean -a - cd common && python setup.py clean -a - cd server && python setup.py clean -a - override_dh_auto_install: cd client && python setup.py install --root=../debian/soledad-client cd common && python setup.py install --root=../debian/soledad-common @@ -25,6 +20,9 @@ override_dh_install: dh_install override_dh_auto_clean: - dh_auto_clean + cd client && python setup.py clean -a + cd common && python setup.py clean -a + cd server && python setup.py clean -a find . -name "*.pyc" -delete - find . -name ".tox" -exec rm -rf {} \; + rm -rf testing/.tox + dh_auto_clean -- cgit v1.2.3