Building a target that creates a directory as true root might leave behind files that an ordinary user would not be able remove, but luckily, rm -f errors out in that (rather rare) case. So spare the user some complication and keystrokes by skipping the dh_testroot check.
Signed-off-by: Jonathan Nieder <jrnie...@gmail.com> --- debian/changelog | 6 ++++++ debian/rules | 1 - 2 files changed, 6 insertions(+), 1 deletions(-) diff --git a/debian/changelog b/debian/changelog index 4000e37..c027bf9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +libpciaccess (0.12.0-2) UNRELEASED; urgency=low + + * Allow non-root users to run “debian/rules clean”. + + -- Jonathan Nieder <jrnie...@gmail.com> Fri, 04 Feb 2011 19:51:53 -0600 + libpciaccess (0.12.0-1) unstable; urgency=low * New upstream release: diff --git a/debian/rules b/debian/rules index 9d64d5a..10c19a8 100755 --- a/debian/rules +++ b/debian/rules @@ -45,7 +45,6 @@ build-stamp: build/config.status clean: dh_testdir - dh_testroot rm -f build-stamp rm -f config.cache config.log config.status -- 1.7.4 -- To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110205125136.GA18037@elie