aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-02-09 20:27:51 -0800
committerBryan Newbold <bnewbold@archive.org>2021-02-09 20:27:51 -0800
commit5979343cd5575d35e6ad5e6699db4579a7e365e9 (patch)
treee65169da56da05c447f1f879fa4b064ad914e62f
parent562cd404efc33f8e745e9a7f684a090055d734ef (diff)
downloadfatcat-cli-5979343cd5575d35e6ad5e6699db4579a7e365e9.tar.gz
fatcat-cli-5979343cd5575d35e6ad5e6699db4579a7e365e9.zip
make: manpage building better
-rw-r--r--Makefile6
1 files 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)