From 5979343cd5575d35e6ad5e6699db4579a7e365e9 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 9 Feb 2021 20:27:51 -0800 Subject: make: manpage building better --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f093a89..b231d32 100644 --- a/Makefile +++ b/Makefile @@ -21,9 +21,11 @@ fmt: ## Run syntax re-formatting build: ## Build cargo build +extra/fatcat-cli.1: extra/fatcat-cli.1.scdoc + scdoc < extra/fatcat-cli.1.scdoc > extra/fatcat-cli.1 + .PHONY: manpage -manpage: ## Rebuild manpage using scdoc - scdoc < fatcat-cli/fatcat-cli.1.scdoc > fatcat-cli/fatcat-cli.1 +manpage: extra/fatcat-cli.1 ## Rebuild manpage using scdoc .PHONY: deb deb: ## Build debian packages (.deb files) -- cgit v1.2.3