2024-04-02 08:45:07 +02:00
|
|
|
PREFIX = /usr/local
|
|
|
|
BINDIR = $(PREFIX)/bin
|
|
|
|
MANDIR = $(PREFIX)/man/man8
|
2024-04-08 01:27:18 +02:00
|
|
|
LIBEXECDIR = $(PREFIX)/libexec/portzap
|
|
|
|
SHAREDIR = $(PREFIX)/share/portzap
|
2024-04-02 08:45:07 +02:00
|
|
|
|
|
|
|
install:
|
2024-07-22 02:45:26 +02:00
|
|
|
@find bin/ libexec/ share/ man/ -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)/"{}" \;
|
2024-04-02 08:45:07 +02:00
|
|
|
|
|
|
|
deinstall:
|
2024-08-19 04:59:13 +02:00
|
|
|
rm -rf $(BINDIR)/portzap
|
|
|
|
rm -rf $(MANDIR)/portzap.8
|
2024-04-02 10:27:07 +02:00
|
|
|
rm -rf $(LIBEXECDIR)
|
2024-04-08 01:27:18 +02:00
|
|
|
rm -rf $(SHAREDIR)
|
2024-04-02 18:40:16 +02:00
|
|
|
|
|
|
|
shellcheck:
|
2024-07-27 03:26:07 +02:00
|
|
|
find bin/ libexec/ -type f -exec shellcheck -x "{}" \;
|