sourcezap/Makefile

20 lines
571 B
Makefile
Raw Permalink Normal View History

PREFIX = /usr/local
BINDIR = $(PREFIX)/bin
MANDIR = $(PREFIX)/man/man8
2024-05-12 01:19:45 +02:00
LIBEXECDIR = $(PREFIX)/libexec/sourcezap
SHAREDIR = $(PREFIX)/share/sourcezap
install:
2024-07-20 06:43:11 +02:00
@find bin/ libexec/ share/ man/ -type d -exec install -v -d $(PREFIX)/"{}" \;
2024-07-19 22:14:23 +02:00
@find bin/ libexec/ -type f -exec install -v -m 0755 "{}" $(PREFIX)/"{}" \;
@find share/ man/ -type f -exec install -v -m 0644 "{}" $(PREFIX)/"{}" \;
deinstall:
2024-08-19 04:05:52 +02:00
rm -rf $(BINDIR)/sourcezap
rm -rf $(MANDIR)/sourcezap.8
rm -rf $(LIBEXECDIR)
rm -rf $(SHAREDIR)
shellcheck:
find bin/ libexec/ -type f -exec shellcheck -x "{}" \;