Package: git-core
Version: 1:1.6.5.2-1
Severity: wishlist

-- %< --
Subject: debian/rules: allow clean as non-root

There is no need to require (possibly faked) root privileges to
clean up after a build as non-root.  Making other targets as root
could cause "debian/rules clean" as non-root to fail, but in that
case it should not be hard for the user to figure out what went
wrong and recover.

Signed-off-by: Jonathan Nieder <jrnie...@gmail.com>
---
 debian/rules |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/debian/rules b/debian/rules
index 6e75455..f46985d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -61,7 +61,7 @@ build-indep-stamp:
        $(MAKE) -CDocumentation man html ASCIIDOC8=YesPlease 
ASCIIDOC_NO_ROFF=Yes
        touch build-indep-stamp
 
-clean: deb-checkdir deb-checkuid
+clean: deb-checkdir
        $(MAKE) clean $(OPTS)
        ! test -e patch-stamp || \
          for i in `ls -1r debian/diff/*.diff || :`; do patch -p1 -R <$$i; done
-- 
1.6.5.2




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to