sourcezap/Makefile

21 lines
593 B
Makefile
Raw 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-05-12 01:19:45 +02:00
rm $(BINDIR)/sourcezap
rm $(BINDIR)/setup-sourcezap
rm $(MANDIR)/sourcezap.8
rm -rf $(LIBEXECDIR)
rm -rf $(SHAREDIR)
shellcheck:
find bin/ libexec/ -type f -exec shellcheck -x "{}" \;