Improve dh_auto_clean target in d/rules to handle some leftover files from quilt and waf

This commit is contained in:
Ryan Niebur 2013-10-23 21:04:42 -07:00
parent cd6899f136
commit a92607d4fb
2 changed files with 6 additions and 2 deletions

4
debian/changelog vendored
View file

@ -20,8 +20,10 @@ midori (0.5.2+dfsg-1) UNRELEASED; urgency=low
to the NMU by Koichi Akabe to the NMU by Koichi Akabe
- refreshed patches - refreshed patches
- add new Build-Dep on libzeitgeist-dev - add new Build-Dep on libzeitgeist-dev
* Improve dh_auto_clean target in d/rules to handle some leftover
files from quilt and waf
-- Ryan Niebur <ryan@debian.org> Wed, 23 Oct 2013 20:46:22 -0700 -- Ryan Niebur <ryan@debian.org> Wed, 23 Oct 2013 21:04:40 -0700
midori (0.4.3+dfsg-0.1) unstable; urgency=low midori (0.4.3+dfsg-0.1) unstable; urgency=low

4
debian/rules vendored
View file

@ -62,8 +62,10 @@ override_dh_install: debian/presubj
$(CMD) --fail-missing $(CMD) --fail-missing
override_dh_auto_clean: override_dh_auto_clean:
! which quilt >/dev/null || ! test -d .pc || quilt pop -a
rm -fr .pc
$(WAF) --nocache distclean $(WAF) --nocache distclean
rm -rf _build_ rm -rf _build_ _build
rm -rf .waf* rm -rf .waf*
rm -rf .lock-wscript rm -rf .lock-wscript
rm -rf `find waf-modules -name "*.pyc"` rm -rf `find waf-modules -name "*.pyc"`