mirror of
https://github.com/Llewellynvdm/exa.git
synced 2025-01-27 07:38:27 +00:00
Use DESTDIR when installing/uninstalling completions
This commit is contained in:
parent
ff5896aad2
commit
1537759c75
12
Makefile
12
Makefile
@ -24,20 +24,20 @@ install-man:
|
|||||||
install -m644 -- contrib/man/exa.1 "$(DESTDIR)$(PREFIX)/share/man/man1/"
|
install -m644 -- contrib/man/exa.1 "$(DESTDIR)$(PREFIX)/share/man/man1/"
|
||||||
|
|
||||||
install-bash-completions:
|
install-bash-completions:
|
||||||
install -m644 -- contrib/completions.bash "$(BASHDIR)/exa"
|
install -m644 -- contrib/completions.bash "$(DESTDIR)$(BASHDIR)/exa"
|
||||||
|
|
||||||
install-zsh-completions:
|
install-zsh-completions:
|
||||||
install -m644 -- contrib/completions.zsh "$(ZSHDIR)/_exa"
|
install -m644 -- contrib/completions.zsh "$(DESTDIR)$(ZSHDIR)/_exa"
|
||||||
|
|
||||||
install-fish-completions:
|
install-fish-completions:
|
||||||
install -m644 -- contrib/completions.fish "$(FISHDIR)/exa.fish"
|
install -m644 -- contrib/completions.fish "$(DESTDIR)$(FISHDIR)/exa.fish"
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
-rm -f -- "$(DESTDIR)$(PREFIX)/share/man/man1/exa.1"
|
-rm -f -- "$(DESTDIR)$(PREFIX)/share/man/man1/exa.1"
|
||||||
-rm -f -- "$(DESTDIR)$(PREFIX)/bin/exa"
|
-rm -f -- "$(DESTDIR)$(PREFIX)/bin/exa"
|
||||||
-rm -f -- "$(BASHDIR)/exa"
|
-rm -f -- "$(DESTDIR)$(BASHDIR)/exa"
|
||||||
-rm -f -- "$(ZSHDIR)/_exa"
|
-rm -f -- "$(DESTDIR)$(ZSHDIR)/_exa"
|
||||||
-rm -f -- "$(FISHDIR)/exa.fish"
|
-rm -f -- "$(DESTDIR)$(FISHDIR)/exa.fish"
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
cargo clean
|
cargo clean
|
||||||
|
Loading…
x
Reference in New Issue
Block a user