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

@ -58,8 +58,8 @@ distclean: clean
install: $(YANGSPECS)
echo $(DESTDIR)$(datarootdir)/clixon/clixon.mk
echo $(DESTDIR)$(clixon_DATADIR)
install -d $(DESTDIR)$(clixon_DATADIR)
install $(YANGSPECS) $(DESTDIR)$(clixon_DATADIR)
install -d -m 0755 $(DESTDIR)$(clixon_DATADIR)
install -m 0644 $(YANGSPECS) $(DESTDIR)$(clixon_DATADIR)
uninstall:
(cd $(DESTDIR)$(clixon_DATADIR); rm -rf $(YANGSPECS))