git » libjio » commit d98b1b8

When we install the files, don't force user/group to be "root", as many system may not have either one or both (for instance, FreeBSD doesn't have a "root" group). Trying to force it it's pointless.

author Alberto Bertogli
2004-09-14 05:25:02 UTC
committer Alberto Bertogli
2007-07-15 13:23:10 UTC
parent db04708f059194cfb71f635d64934238a51195c4

When we install the files, don't force user/group to be "root", as many system may not have either one or both (for instance, FreeBSD doesn't have a "root" group). Trying to force it it's pointless.

When we install the files, don't force user/group to be "root", as many system
may not have either one or both (for instance, FreeBSD doesn't have a "root"
group). Trying to force it it's pointless.

Makefile +9 -9

diff --git a/Makefile b/Makefile
index 75c5313..b4c3ab4 100644
--- a/Makefile
+++ b/Makefile
@@ -20,15 +20,15 @@ jiofsck: jiofsck.o static
 	$(CC) jiofsck.o libjio.a -lpthread -o jiofsck
 
 install: all
-	install -g root -o root -d $(PREFIX)/lib
-	install -g root -o root -m 0755 libjio.so $(PREFIX)/lib
-	install -g root -o root -m 0644 libjio.a $(PREFIX)/lib
-	install -g root -o root -d $(PREFIX)/include
-	install -g root -o root -m 0644 libjio.h $(PREFIX)/include
-	install -g root -o root -d $(PREFIX)/bin
-	install -g root -o root -m 0775 jiofsck $(PREFIX)/bin
-	install -g root -o root -d $(PREFIX)/man/man3
-	install -g root -o root -m 0644 doc/libjio.3 $(PREFIX)/man/man3/
+	install -d $(PREFIX)/lib
+	install -m 0755 libjio.so $(PREFIX)/lib
+	install -m 0644 libjio.a $(PREFIX)/lib
+	install -d $(PREFIX)/include
+	install -m 0644 libjio.h $(PREFIX)/include
+	install -d $(PREFIX)/bin
+	install -m 0775 jiofsck $(PREFIX)/bin
+	install -d $(PREFIX)/man/man3
+	install -m 0644 doc/libjio.3 $(PREFIX)/man/man3/
 	@echo
 	@echo "Please run ldconfig to update your library cache"
 	@echo