From 16b7b924e088747bad10b9a78b9fdb5dc697a8bc Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Wed, 14 Dec 2022 05:55:44 -1000 Subject: [PATCH] ;dev: make man-watch --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 061298310..c80cd82ec 100644 --- a/Makefile +++ b/Makefile @@ -822,6 +822,9 @@ manuals-watch: Shake \ $(call def-help,manuals-watch, rerender manuals when their source files change ) ls $(DOCSOURCEFILES) | entr ./Shake -VV manuals +man-watch: man-watch-hledger \ + $(call def-help,man-watch, run man on the hledger man page when its source file changes ) + man-watch-%: Shake \ $(call def-help,man-watch-PROG, run man on the given man page when its source file changes. Eg make man-watch-hledger-web ) $(WATCHEXEC) -r -w $*/$*.m4.md './Shake $*/$*.1 && man $*/$*.1'