aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 13 insertions, 4 deletions
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