mirror of
https://framagit.org/ppom/reaction
synced 2026-03-14 12:45:47 +01:00
merge work from !31
This commit is contained in:
parent
14a0ded68d
commit
5a78e51f1d
1 changed files with 15 additions and 14 deletions
|
|
@ -1,31 +1,32 @@
|
|||
PREFIX ?= /usr/local
|
||||
BINDIR = $(PREFIX)/bin
|
||||
MANDIR = $(PREFIX)/share/man/man1
|
||||
SYSTEMDDIR ?= /etc/systemd
|
||||
SYSTEMDDIR ?= $(PREFIX)/lib/systemd
|
||||
|
||||
install:
|
||||
install -Dm755 reaction $(DESTDIR)$(BINDIR)
|
||||
install -Dm755 reaction-plugin-cluster $(DESTDIR)$(BINDIR)
|
||||
install -Dm755 reaction-plugin-ipset $(DESTDIR)$(BINDIR)
|
||||
install -Dm755 reaction-plugin-nftables $(DESTDIR)$(BINDIR)
|
||||
install -Dm755 reaction-plugin-virtual $(DESTDIR)$(BINDIR)
|
||||
install -Dm755 reaction $(DESTDIR)$(BINDIR)/reaction
|
||||
install -Dm644 reaction*.1 -t $(DESTDIR)$(MANDIR)/
|
||||
install -Dm644 reaction.bash $(DESTDIR)$(PREFIX)/share/bash-completion/completions/reaction
|
||||
install -Dm644 reaction.fish $(DESTDIR)$(PREFIX)/share/fish/vendor_completions.d/reaction.fish
|
||||
install -Dm644 _reaction $(DESTDIR)$(PREFIX)/share/zsh/vendor-completions/_reaction
|
||||
install -Dm644 reaction.service $(SYSTEMDDIR)/system/reaction.service
|
||||
install -Dm644 reaction.service $(DESTDIR)$(SYSTEMDDIR)/system/reaction.service
|
||||
|
||||
install-ipset:
|
||||
install -Dm755 reaction-plugin-ipset $(DESTDIR)$(BINDIR)
|
||||
install-plugins:
|
||||
install -Dm755 reaction-plugin-cluster $(DESTDIR)$(BINDIR)/reaction-plugin-cluster
|
||||
install -Dm755 reaction-plugin-ipset $(DESTDIR)$(BINDIR)/reaction-plugin-ipset
|
||||
install -Dm755 reaction-plugin-nftables $(DESTDIR)$(BINDIR)/reaction-plugin-nftables
|
||||
install -Dm755 reaction-plugin-virtual $(DESTDIR)$(BINDIR)/reaction-plugin-virtual
|
||||
|
||||
remove:
|
||||
rm -f $(DESTDIR)$(BINDIR)/reaction
|
||||
rm -f $(DESTDIR)$(BINDIR)/reaction-plugin-cluster
|
||||
rm -f $(DESTDIR)$(BINDIR)/reaction-plugin-ipset
|
||||
rm -f $(DESTDIR)$(BINDIR)/reaction-plugin-nftables
|
||||
rm -f $(DESTDIR)$(BINDIR)/reaction-plugin-virtual
|
||||
rm -f $(DESTDIR)$(MANDIR)/reaction*.1
|
||||
rm -f $(DESTDIR)$(PREFIX)/share/bash-completion/completions/reaction
|
||||
rm -f $(DESTDIR)$(PREFIX)/share/fish/vendor_completions.d/reaction.fish
|
||||
rm -f $(DESTDIR)$(PREFIX)/share/zsh/vendor-completions/_reaction
|
||||
rm -f $(SYSTEMDDIR)/system/reaction.service
|
||||
rm -f $(DESTDIR)$(SYSTEMDDIR)/system/reaction.service
|
||||
|
||||
remove-plugins:
|
||||
rm -f $(DESTDIR)$(BINDIR)/reaction-plugin-cluster
|
||||
rm -f $(DESTDIR)$(BINDIR)/reaction-plugin-ipset
|
||||
rm -f $(DESTDIR)$(BINDIR)/reaction-plugin-nftables
|
||||
rm -f $(DESTDIR)$(BINDIR)/reaction-plugin-virtual
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue