mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-18 17:57:11 +03:00
;dev: make man-watch
This commit is contained in:
parent
64d29a3e68
commit
16b7b924e0
3
Makefile
3
Makefile
@ -822,6 +822,9 @@ manuals-watch: Shake \
|
|||||||
$(call def-help,manuals-watch, rerender manuals when their source files change )
|
$(call def-help,manuals-watch, rerender manuals when their source files change )
|
||||||
ls $(DOCSOURCEFILES) | entr ./Shake -VV manuals
|
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 \
|
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 )
|
$(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'
|
$(WATCHEXEC) -r -w $*/$*.m4.md './Shake $*/$*.1 && man $*/$*.1'
|
||||||
|
Loading…
Reference in New Issue
Block a user