From 9a57ade27e64f3aabd15b7b9b05b7fcf7f4e819e Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Sat, 13 Jun 2020 20:33:51 -0700 Subject: infrastructure for CLI .deb and manpage --- rust/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'rust/Makefile') diff --git a/rust/Makefile b/rust/Makefile index e0940e3..8e2bc4b 100644 --- a/rust/Makefile +++ b/rust/Makefile @@ -20,3 +20,11 @@ fmt: ## Run syntax re-formatting .PHONY: build build: ## Build cargo build + +.PHONY: manpage +manpage: ## Rebuild manpage using scdoc + scdoc < fatcat-cli/fatcat-cli.1.scdoc > fatcat-cli/fatcat-cli.1 + +.PHONY: deb +deb: ## Build debian packages (.deb files) + cargo deb -p fatcat-cli -- cgit v1.2.3