diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-04-18 00:57:36 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-04-18 00:57:36 -0400 |
commit | 1da2ca9044226f55e209e09f17f4ae6a46531c2a (patch) | |
tree | cee52832d53c11d48abee7cb6d13f7cbaba7916b /Makefile | |
parent | 4d2c581e3fec28a8f71e0bd76dc4431568b7e63c (diff) | |
download | rbw-1da2ca9044226f55e209e09f17f4ae6a46531c2a.tar.gz rbw-1da2ca9044226f55e209e09f17f4ae6a46531c2a.zip |
package completion files with the debian package
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -34,13 +34,20 @@ cleanall: clean @cargo clean .PHONY: cleanall +completion: release + @mkdir -p target/x86_64-unknown-linux-musl/release/completion + @./target/x86_64-unknown-linux-musl/release/rbw gen-completions bash > target/x86_64-unknown-linux-musl/release/completion/bash + @./target/x86_64-unknown-linux-musl/release/rbw gen-completions zsh > target/x86_64-unknown-linux-musl/release/completion/zsh + @./target/x86_64-unknown-linux-musl/release/rbw gen-completions fish > target/x86_64-unknown-linux-musl/release/completion/fish +.PHONY: completion + package: pkg/$(DEB_PACKAGE) .PHONY: package pkg: @mkdir pkg -pkg/$(DEB_PACKAGE): release | pkg +pkg/$(DEB_PACKAGE): release completion | pkg @cargo deb --no-build --target x86_64-unknown-linux-musl && mv target/x86_64-unknown-linux-musl/debian/$(DEB_PACKAGE) pkg pkg/$(DEB_PACKAGE).minisig: pkg/$(DEB_PACKAGE) |