Fix broken Makefile targets

This commit is contained in:
0x1eef 2024-04-02 05:27:07 -03:00
parent c0a305579e
commit b89d53c7db

View file

@ -1,15 +1,15 @@
PREFIX = /usr/local
BINDIR = $(PREFIX)/bin
LIBEXECDIR = $(PREFIX)/libexec
LIBEXECDIR = $(PREFIX)/libexec/portzap
MANDIR = $(PREFIX)/man/man8
install:
install -d $(BINDIR) $(LIBEXECDIR) $(MANDIR)
install -m 0755 bin/portzap $(BINDIR)
install -m 0755 -d libexec/portzap $(LIBEXECDIR)
install -m 0755 libexec/portzap/* $(LIBEXECDIR)
install -m 0644 man/man8/portzap.8 $(MANDIR)
deinstall:
rm -rf $(LIBEXECDIR)/portzap
rm -rf $(LIBEXECDIR)
rm -f $(BINDIR)/portzap
rm -f $(MANDIR)/portzap.8