[pbuilder] 03/06: doc: don't force the documentation to be installed as root

Mattia Rizzolo mattia at debian.org
Fri Oct 27 20:53:13 UTC 2017


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to branch master
in repository pbuilder.

commit 6583d7be5f82117981d0d9b18547ad05dfa30620
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Fri Oct 27 22:32:39 2017 +0200

    doc: don't force the documentation to be installed as root
    
    It's caller's responsability to pick the right user while calling
    `make install`
    
    Gbp-Dch: Short
    Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
 Documentation/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/Makefile b/Documentation/Makefile
index abe2e20..977db01 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -30,9 +30,9 @@ pbuilder-doc.%.po: $(MASTERXML)
 	dblatex --tmpdir=docbuild $<
 
 install: $(HTMLDOCS) pbuilder-doc.pdf
-	install -d -m 755 -o root -g root $(DESTDIR)/usr/share/doc/pbuilder/
-	install -m 644 -o root -g root $(HTMLDOCS) $(DESTDIR)/usr/share/doc/pbuilder/
-	install -m 644 -o root -g root pbuilder-doc.pdf $(DESTDIR)/usr/share/doc/pbuilder/
+	install -d -m 755 $(DESTDIR)/usr/share/doc/pbuilder/
+	install -m 644 $(HTMLDOCS) $(DESTDIR)/usr/share/doc/pbuilder/
+	install -m 644 pbuilder-doc.pdf $(DESTDIR)/usr/share/doc/pbuilder/
 
 $(MASTERPOT):
 	po4a-gettextize -f docbook -m $(MASTERXML) -p $(MASTERPOT)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pbuilder/pbuilder.git



More information about the Pbuilder-maint mailing list