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

@ -97,8 +97,8 @@ distclean: clean
# Also create a libexec/ directory for writeable/temporary files.
# Put config file in etc/
install: install-lib $(APPL)
install -d $(DESTDIR)$(wwwdir)
install $(APPL) $(DESTDIR)$(wwwdir)
install -d -m 0755 $(DESTDIR)$(wwwdir)
install -m 0755 -s $(APPL) $(DESTDIR)$(wwwdir)
install-lib: $(MYLIB)
install -d $(DESTDIR)$(libdir)