From 33368b57aa077ac13448f4d4927dd8a77934f763 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 11 Nov 2022 13:33:16 -0800 Subject: pds: manpage, shell completions --- Makefile | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 4bfc7c2..187feee 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3