diff options
author | drebs <drebs@leap.se> | 2017-01-31 18:07:25 -0200 |
---|---|---|
committer | drebs <drebs@leap.se> | 2017-01-31 18:07:25 -0200 |
commit | fa5dac0f3540acb71da8e0a4f97e3a529e66b2fa (patch) | |
tree | 8027712d11791aea20af6dca9febc30ed2a75e9d | |
parent | 0d1148c8b1ba1b6c575f08e07fca41f033930273 (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 |