1 Makefile.gnu: allow non-root install by not enforcing root ownserhip
3 Signed-off-by: Rémi Rérolle <remi.rerolle@gmail.com>
5 diff -ruN a/Makefile.gnu b/Makefile.gnu
6 --- a/Makefile.gnu 2015-04-09 16:34:02.315316841 +0200
7 +++ b/Makefile.gnu 2015-04-09 16:34:28.875483201 +0200
11 install -d $(INCDIR) $(INSTALLDIR)
12 - install -m 644 -o root -g root $(HEADER) $(INCDIR)
13 - install -m 644 -o root -g root $(STATICLIB) $(INSTALLDIR)
14 - install -m 755 -o root -g root $(SHAREDLIB) $(INSTALLDIR)
15 + install -m 644 $(HEADER) $(INCDIR)
16 + install -m 644 $(STATICLIB) $(INSTALLDIR)
17 + install -m 755 $(SHAREDLIB) $(INSTALLDIR)
18 ln -sf $(SHAREDLIB) $(INSTALLDIR)/$(VERLIBNAME)
19 ln -sf $(VERLIBNAME) $(INSTALLDIR)/$(LIBNAME)