diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2022-11-11 13:33:16 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2022-11-11 13:33:16 -0800 |
commit | 33368b57aa077ac13448f4d4927dd8a77934f763 (patch) | |
tree | 03848906f726b308f493b50cca27af5aa239ae21 /Makefile | |
parent | 6a23af4d35eb87f4cfd7c70371a4f6f6cd87dad8 (diff) | |
download | adenosine-33368b57aa077ac13448f4d4927dd8a77934f763.tar.gz adenosine-33368b57aa077ac13448f4d4927dd8a77934f763.zip |
pds: manpage, shell completions
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 17 |
1 files changed, 13 insertions, 4 deletions
@@ -11,11 +11,11 @@ test: build ## Run all tests (requires Cargo.lock up to date) .PHONY: lint lint: ## Run syntax/style checks - cargo clippy -p adenosine-cli -- --no-deps + cargo clippy -- --no-deps .PHONY: fmt fmt: ## Run syntax re-formatting - cargo fmt -p adenosine-cli + cargo fmt .PHONY: build build: ## Build @@ -29,16 +29,25 @@ build-release: ## Build for release (requires Cargo.lock up to date) completions: build ## generate shell completions ./target/debug/adenosine --shell-completions bash status > extra/adenosine.bash_completions ./target/debug/adenosine --shell-completions bash status > extra/adenosine.zsh_completions + ./target/debug/adenosine-pds --shell-completions bash generate-secret > extra/adenosine-pds.bash_completions + ./target/debug/adenosine-pds --shell-completions bash generate-secret > extra/adenosine-pds.zsh_completions -extra/%.1: extra/%.1.scdoc +extra/adenosine.1: extra/adenosine.1.scdoc scdoc < extra/adenosine.1.scdoc > extra/adenosine.1 +extra/adenosine-pds.1: extra/adenosine-pds.1.scdoc + scdoc < extra/adenosine-pds.1.scdoc > extra/adenosine-pds.1 + extra/adenosine.1.md: extra/adenosine.1 pandoc extra/adenosine.1 -o extra/adenosine.1.md +extra/adenosine-pds.1.md: extra/adenosine-pds.1 + pandoc extra/adenosine-pds.1 -o extra/adenosine-pds.1.md + .PHONY: manpage -manpage: extra/adenosine.1.md ## Rebuild manpages using scdoc and pandoc +manpage: extra/adenosine.1.md extra/adenosine-pds.1.md ## Rebuild manpages using scdoc and pandoc .PHONY: deb deb: ## Build debian packages (.deb files) cargo deb -p adenosine-cli + cargo deb -p adenosine-pds |