2024-04-02 08:45:07 +02:00
|
|
|
PREFIX = /usr/local
|
|
|
|
BINDIR = $(PREFIX)/bin
|
2024-04-02 10:27:07 +02:00
|
|
|
LIBEXECDIR = $(PREFIX)/libexec/portzap
|
2024-04-02 08:45:07 +02:00
|
|
|
MANDIR = $(PREFIX)/man/man8
|
|
|
|
|
|
|
|
install:
|
|
|
|
install -d $(BINDIR) $(LIBEXECDIR) $(MANDIR)
|
|
|
|
install -m 0755 bin/portzap $(BINDIR)
|
2024-04-02 10:27:07 +02:00
|
|
|
install -m 0755 libexec/portzap/* $(LIBEXECDIR)
|
2024-04-02 08:45:07 +02:00
|
|
|
install -m 0644 man/man8/portzap.8 $(MANDIR)
|
|
|
|
|
|
|
|
deinstall:
|
2024-04-02 10:27:07 +02:00
|
|
|
rm -rf $(LIBEXECDIR)
|
2024-04-02 08:45:07 +02:00
|
|
|
rm -f $(BINDIR)/portzap
|
|
|
|
rm -f $(MANDIR)/portzap.8
|