From fa943a85812ff8678b534f4507d2a0cdfb2c3fa0 Mon Sep 17 00:00:00 2001 From: Tilman Kranz Date: Sun, 21 Nov 2021 04:42:15 +0100 Subject: [PATCH] add installation procedure --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..128c823 --- /dev/null +++ b/Makefile @@ -0,0 +1,10 @@ +NAME=nft-edit-ruleset +DESTDIR= +PREFIX=/usr/local +SBINDIR=$(PREFIX)/sbin +INSTALL=install + +all: $(NAME) + +install: all + install -m 755 $(NAME) $(DESTDIR)$(SBINDIR)/$(NAME)