fix packaging Makefile

This commit is contained in:
Arnaudv6 2026-03-13 11:46:57 +01:00
commit 6c9cb24ca7

View file

@ -4,8 +4,11 @@ MANDIR = $(PREFIX)/share/man/man1
SYSTEMDDIR ?= /etc/systemd
install:
install -Dm755 reaction $(DESTDIR)$(BINDIR)
install -Dm755 reaction-plugin-virtual $(DESTDIR)$(BINDIR)
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 -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
@ -16,11 +19,13 @@ install-ipset:
install -Dm755 reaction-plugin-ipset $(DESTDIR)$(BINDIR)
remove:
rm -f $(DESTDIR)$(BINDIR)/bin/reaction
rm -f $(DESTDIR)$(BINDIR)/bin/reaction-plugin-virtual
rm -f $(DESTDIR)$(BINDIR)/bin/reaction-plugin-ipset
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/bash-completion/completions/reaction.bash
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