diff options
author | Doron Behar <doron.behar@gmail.com> | 2019-04-01 15:12:56 +0300 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2019-04-02 13:06:22 +0200 |
commit | 53cfb8e582b4d79bd4b6ecd64e2de379efbaa0c4 (patch) | |
tree | 68bb8684506f125995b9d64858105e697516bf18 /Makefile | |
parent | fcbd00162d23cb33b2f25c96f407b5f44959c669 (diff) |
Install completion files.
- Make tool/build.rs generate completion files into a predictable
location ($CARGO_TARGET_DIR).
- Install completion files.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -92,6 +92,21 @@ install: build-release $(MAKE) -Copenpgp-ffi install $(MAKE) -Cffi install $(MAKE) -Csqv install + $(INSTALL) -d $(DESTDIR)$(PREFIX)/share/zsh/site-functions + $(INSTALL) -t $(DESTDIR)$(PREFIX)/share/zsh/site-functions \ + $(CARGO_TARGET_DIR)/_sq + $(INSTALL) -t $(DESTDIR)$(PREFIX)/share/zsh/site-functions \ + $(CARGO_TARGET_DIR)/_sqv + $(INSTALL) -d $(DESTDIR)$(PREFIX)/share/bash-completion/completions + $(INSTALL) $(CARGO_TARGET_DIR)/sq.bash \ + $(DESTDIR)$(PREFIX)/share/bash-completion/completions/sq + $(INSTALL) $(CARGO_TARGET_DIR)/sqv.bash \ + $(DESTDIR)$(PREFIX)/share/bash-completion/completions/sqv + $(INSTALL) -d $(DESTDIR)$(PREFIX)/share/fish/completions + $(INSTALL) -t $(DESTDIR)$(PREFIX)/share/fish/completions \ + $(CARGO_TARGET_DIR)/sq.fish + $(INSTALL) -t $(DESTDIR)$(PREFIX)/share/fish/completions \ + $(CARGO_TARGET_DIR)/sqv.fish # Infrastructure for creating source distributions. .PHONY: dist |