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:
parent
50522df3d9
commit
dabf0e5918
13 changed files with 53 additions and 53 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue