Add a make install target

This commit is contained in:
NoTag 2024-01-06 23:52:16 +01:00 committed by No Tag
parent 58b624e0b9
commit 84d40b3eda

View File

@ -1,3 +1,6 @@
PREFIX ?= /usr/local
BINDIR = $(PREFIX)/bin
all: reaction ip46tables all: reaction ip46tables
clean: clean:
@ -24,3 +27,6 @@ reaction.deb: reaction ip46tables
signatures: reaction.deb reaction ip46tables signatures: reaction.deb reaction ip46tables
minisign -Sm ip46tables reaction reaction.deb minisign -Sm ip46tables reaction reaction.deb
install: all
@install -m755 reaction $(DESTDIR)$(BINDIR)
@install -m755 ip46tables $(DESTDIR)$(BINDIR)