mirror of
https://framagit.org/ppom/reaction
synced 2026-03-14 12:45:47 +01:00
Fix makefile install
remove duplicated /man/man1 otherwise, get an error during installation install: target '/usr/local/share/man/man1/man/man1/': No such file or directory Use -D to create missing directory
This commit is contained in:
parent
3beca6d7a5
commit
8543fead54
1 changed files with 8 additions and 8 deletions
|
|
@ -5,18 +5,18 @@ SYSTEMDDIR ?= /etc/systemd
|
|||
|
||||
install:
|
||||
install -m755 reaction nft46 ip46tables $(DESTDIR)$(BINDIR)
|
||||
install -m644 reaction*.1 $(DESTDIR)$(MANDIR)/man/man1/
|
||||
install -m644 reaction.bash $(DESTDIR)/share/bash-completion/completions/reaction
|
||||
install -m644 reaction.fish $(DESTDIR)/share/fish/completions/
|
||||
install -m644 _reaction $(DESTDIR)/share/zsh/vendor-completions/
|
||||
install -m644 reaction*.1 $(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
|
||||
install -Dm644 _reaction $(DESTDIR)$(PREFIX)/share/zsh/vendor-completions/_reaction
|
||||
install -m644 reaction.service $(SYSTEMDDIR)/system/reaction.service
|
||||
|
||||
remove:
|
||||
rm -f $(DESTDIR)$(BINDIR)/bin/reaction
|
||||
rm -f $(DESTDIR)$(BINDIR)/bin/nft46
|
||||
rm -f $(DESTDIR)$(BINDIR)/bin/ip46tables
|
||||
rm -f $(DESTDIR)$(MANDIR)/man/man1/reaction*.1
|
||||
rm -f $(DESTDIR)/share/bash-completion/completions/reaction
|
||||
rm -f $(DESTDIR)/share/fish/completions/
|
||||
rm -f $(DESTDIR)/share/zsh/vendor-completions/
|
||||
rm -f $(DESTDIR)$(MANDIR)/reaction*.1
|
||||
rm -f $(DESTDIR)$(PREFIX)/share/bash-completion/completions/reaction
|
||||
rm -f $(DESTDIR)$(PREFIX)/share/fish/vendor_completions.d/
|
||||
rm -f $(DESTDIR)$(PREFIX)/share/zsh/vendor-completions/
|
||||
rm -f $(SYSTEMDDIR)/system/reaction.service
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue