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

sebastic-guest pushed a commit to tag v1.3.1
in repository osmpbf.

commit b8266ac09f73169202a66db086c9a03bbbb77c0a
Author: Thomas Friebel <ya...@codefreax.com>
Date:   Fri Mar 8 22:24:11 2013 +0100

    Do not set file user:group to 'root:root' during installation
    
    When run as root, files will be 'root:root' anyway. When run as user
    changing user:group will fail. Furthermore, the group 'root' is not
    available on all systems.
---
 src/Makefile   | 12 ++++++------
 tools/Makefile |  4 ++--
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/Makefile b/src/Makefile
index aea692f..e850edd 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -18,12 +18,12 @@ libosmpbf.a: fileformat.pb.o osmformat.pb.o
        cp *.pb.h ../include/osmpbf/
 
 install:
-       install -m 755 -g root -o root -d $(DESTDIR)/lib
-       install -m 644 -g root -o root libosmpbf.a $(DESTDIR)/lib
-       install -m 755 -g root -o root -d $(DESTDIR)/include/osmpbf
-       install -m 644 -g root -o root ../include/osmpbf/osmpbf.h 
$(DESTDIR)/include/osmpbf
-       install -m 644 -g root -o root ../include/osmpbf/fileformat.pb.h 
$(DESTDIR)/include/osmpbf
-       install -m 644 -g root -o root ../include/osmpbf/osmformat.pb.h 
$(DESTDIR)/include/osmpbf
+       install -m 755 -d $(DESTDIR)/lib
+       install -m 644 libosmpbf.a $(DESTDIR)/lib
+       install -m 755 -d $(DESTDIR)/include/osmpbf
+       install -m 644 ../include/osmpbf/osmpbf.h $(DESTDIR)/include/osmpbf
+       install -m 644 ../include/osmpbf/fileformat.pb.h 
$(DESTDIR)/include/osmpbf
+       install -m 644 ../include/osmpbf/osmformat.pb.h 
$(DESTDIR)/include/osmpbf
 
 clean:
        rm -f *.pb.h *.pb.cc *.pb.o libosmpbf.a
diff --git a/tools/Makefile b/tools/Makefile
index 9112867..a4e3ab4 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -10,8 +10,8 @@ osmpbf-outline: osmpbf-outline.cpp
        $(CXX) $(CXXFLAGS) -o $@ $< $(LDFLAGS)
 
 install:
-       install -m 755 -g root -o root -d $(DESTDIR)/bin
-       install -m 644 -g root -o root -s osmpbf-outline $(DESTDIR)/bin
+       install -m 755 -d $(DESTDIR)/bin
+       install -m 644 -s osmpbf-outline $(DESTDIR)/bin
 
 clean:
        rm -f osmpbf-outline

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

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to