mirror of
https://framagit.org/ppom/reaction
synced 2026-03-14 12:45:47 +01:00
fix packaging Makefile
This commit is contained in:
parent
3ca54c6c43
commit
6c9cb24ca7
1 changed files with 11 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue