Update Makefile
Some checks are pending
sourcezap / shellcheck (push) Waiting to run

This commit is contained in:
0x1eef 2024-07-19 17:14:23 -03:00
parent 59c799c047
commit c56b470184

View file

@ -5,13 +5,9 @@ LIBEXECDIR = $(PREFIX)/libexec/sourcezap
SHAREDIR = $(PREFIX)/share/sourcezap SHAREDIR = $(PREFIX)/share/sourcezap
install: install:
install -d $(BINDIR) $(LIBEXECDIR) $(LIBEXECDIR)/commands $(LIBEXECDIR)/utils $(SHAREDIR) $(MANDIR) @find bin/ libexec/ share/ -type d -exec install -v -d $(PREFIX)/"{}" \;
install -m 0755 bin/sourcezap $(BINDIR) @find bin/ libexec/ -type f -exec install -v -m 0755 "{}" $(PREFIX)/"{}" \;
install -m 0755 bin/setup-sourcezap $(BINDIR) @find share/ man/ -type f -exec install -v -m 0644 "{}" $(PREFIX)/"{}" \;
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)
deinstall: deinstall:
rm $(BINDIR)/sourcezap rm $(BINDIR)/sourcezap
@ -21,6 +17,4 @@ deinstall:
rm -rf $(SHAREDIR) rm -rf $(SHAREDIR)
shellcheck: shellcheck:
shellcheck bin/* find bin/ libexec/ -type f -exec shellcheck "{}" \;
shellcheck libexec/sourcezap/utils/*
shellcheck libexec/sourcezap/commands/*