summaryrefslogtreecommitdiffstats
path: root/rust/Makefile
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-06-13 20:33:51 -0700
committerBryan Newbold <bnewbold@archive.org>2020-06-13 20:33:51 -0700
commit9a57ade27e64f3aabd15b7b9b05b7fcf7f4e819e (patch)
tree19f702b6919a183a277ef3266e18c5d4336c669b /rust/Makefile
parent725958d822393c56cff9e8556d1230f99d3066cb (diff)
downloadfatcat-cli-9a57ade27e64f3aabd15b7b9b05b7fcf7f4e819e.tar.gz
fatcat-cli-9a57ade27e64f3aabd15b7b9b05b7fcf7f4e819e.zip
infrastructure for CLI .deb and manpage
Diffstat (limited to 'rust/Makefile')
-rw-r--r--rust/Makefile8
1 files changed, 8 insertions, 0 deletions
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