diff options
author | drebs <drebs@leap.se> | 2017-01-31 18:07:25 -0200 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2017-03-21 12:23:16 +0100 |
commit | 6e06e669513e3f115e59e5e80d295ae0de6bc90b (patch) | |
tree | a9aa3e84df3530994372749cf8a05de4860a24aa | |
parent | ce2f2880da1041fcbdabaf18f7263fb30ba3cdf1 (diff) |
[pkg] unify and fix override_dh_auto_clean
-rwxr-xr-x | debian/rules | 12 |
1 files 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 |