From b566123b9b60aff8ef21dfa7b21f817261236b1d Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 13 Jan 2014 06:36:45 +0000 Subject: nftables: drop hard coded install using root user owner and group Packaging systems build as a non priv user, so can't install as root. Users installing from source can 'sudo make install' or run 'make install' as root Signed-off-by: Kevin Fenzi Signed-off-by: Patrick McHardy --- doc/Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/Makefile.in b/doc/Makefile.in index 2c42d7e5..e0732adb 100644 --- a/doc/Makefile.in +++ b/doc/Makefile.in @@ -10,11 +10,11 @@ install: $(mandocs-y) $(pdfdocs-y) @echo -e " INSTALL\tdoc" if test -n "$(mandocs-y)"; then \ $(MKDIR_P) $(DESTDIR)/${mandir}/man8 ;\ - $(INSTALL) -m 755 -o root -g root $(mandocs-y) \ + $(INSTALL) -m 755 -p $(mandocs-y) \ $(DESTDIR)/${mandir}/man8/ ;\ fi if test -n "$(pdfdocs-y)"; then \ $(MKDIR_P) $(DESTDIR)/${pdfdir} ;\ - $(INSTALL) -m 755 -o root -g root $(pdfdocs-y) \ + $(INSTALL) -m 755 -p $(pdfdocs-y) \ $(DESTDIR)/${pdfdir}/ ;\ fi -- cgit v1.2.3