From 168d1e63b3ded345eba948bca308181db724f170 Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Sat, 14 May 2016 22:59:07 +0200 Subject: [PATCH] Ensure documentation artifacts are removed on clean --- debian/rules | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/rules b/debian/rules index f629800..8017d83 100755 --- a/debian/rules +++ b/debian/rules @@ -16,10 +16,16 @@ include /usr/share/dpkg/buildflags.mk %: dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild +# Also build the documentation override_dh_auto_build: dh_auto_build PYTHONPATH=. http_proxy='127.0.0.1:9' make doc +# ... and clean it +override_dh_auto_clean: + dh_auto_clean + $(MAKE) clean + override_dh_strip: dh_strip -ppython-pyxattr --dbgsym-migration='python-pyxattr-dbg (<< 0.5.6-1~)' dh_strip -ppython3-pyxattr --dbgsym-migration='python3-pyxattr-dbg (<< 0.5.6-1~)' -- 2.39.5