Improve permissions and strip binaries

- Use 0755 for directories
- Use 0644 for libraries, includes and shared files
- Use -s (strip) parameter when installing binaries and libraries
This commit is contained in:
Renato Botelho do Couto 2018-04-23 13:28:08 -05:00
parent 50522df3d9
commit dabf0e5918
13 changed files with 53 additions and 53 deletions

View file

@ -181,8 +181,8 @@ install: install-lib
install-include:
install-lib: $(MYLIB)
install -m 755 -d $(DESTDIR)$(libdir)
install -m 755 $(MYLIB) $(DESTDIR)$(libdir)
install -m 0755 -d $(DESTDIR)$(libdir)
install -m 0644 -s $(MYLIB) $(DESTDIR)$(libdir)
ln -sf $(MYLIB) $(DESTDIR)$(libdir)/$(MYLIBSO) # -l:libclixon.so.3
ln -sf $(MYLIBSO) $(DESTDIR)$(libdir)/$(MYLIBLINK) # -l:libclixon.so