This commit is contained in:
parent
59c799c047
commit
c56b470184
1 changed files with 4 additions and 10 deletions
14
Makefile
14
Makefile
|
@ -5,13 +5,9 @@ LIBEXECDIR = $(PREFIX)/libexec/sourcezap
|
|||
SHAREDIR = $(PREFIX)/share/sourcezap
|
||||
|
||||
install:
|
||||
install -d $(BINDIR) $(LIBEXECDIR) $(LIBEXECDIR)/commands $(LIBEXECDIR)/utils $(SHAREDIR) $(MANDIR)
|
||||
install -m 0755 bin/sourcezap $(BINDIR)
|
||||
install -m 0755 bin/setup-sourcezap $(BINDIR)
|
||||
install -m 0755 libexec/sourcezap/commands/* $(LIBEXECDIR)/commands
|
||||
install -m 0755 libexec/sourcezap/utils/* $(LIBEXECDIR)/utils
|
||||
install -m 0644 share/sourcezap/* $(SHAREDIR)
|
||||
install -m 0644 man/man8/sourcezap.8 $(MANDIR)
|
||||
@find bin/ libexec/ share/ -type d -exec install -v -d $(PREFIX)/"{}" \;
|
||||
@find bin/ libexec/ -type f -exec install -v -m 0755 "{}" $(PREFIX)/"{}" \;
|
||||
@find share/ man/ -type f -exec install -v -m 0644 "{}" $(PREFIX)/"{}" \;
|
||||
|
||||
deinstall:
|
||||
rm $(BINDIR)/sourcezap
|
||||
|
@ -21,6 +17,4 @@ deinstall:
|
|||
rm -rf $(SHAREDIR)
|
||||
|
||||
shellcheck:
|
||||
shellcheck bin/*
|
||||
shellcheck libexec/sourcezap/utils/*
|
||||
shellcheck libexec/sourcezap/commands/*
|
||||
find bin/ libexec/ -type f -exec shellcheck "{}" \;
|
||||
|
|
Loading…
Reference in a new issue