aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2025-05-09 19:36:07 +0200
committerbptato <nincsnevem662@gmail.com>2025-05-09 19:36:07 +0200
commitf563d85a5f47261d7e48d9e38a3c2ff6e318bf6a (patch)
tree98d0aba533217faf5f0a72da971301c70e149eba /Makefile
parent999e5b451bc5c194094e28382f54d4ffed226c8b (diff)
downloadchawan-f563d85a5f47261d7e48d9e38a3c2ff6e318bf6a.tar.gz
Update docs
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7a129061..7013884e 100644
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,7 @@ MANPREFIX1 ?= $(MANPREFIX)/man1
MANPREFIX5 ?= $(MANPREFIX)/man5
MANPREFIX7 ?= $(MANPREFIX)/man7
TARGET ?= release
+PANDOC ?= pandoc
# Note: this is not a real shell substitution.
# The default setting is at {the binary's path}/../libexec/chawan.
@@ -198,7 +199,7 @@ $(OBJDIR)/man/cha-%.md: doc/%.md md2manpreproc
./md2manpreproc $< > $@
$(OBJDIR)/man/cha-%.md.roff: $(OBJDIR)/man/cha-%.md
- pandoc --standalone --to man $< -o $@
+ $(PANDOC) --standalone --to man $< -o $@
doc/cha-%.5: $(OBJDIR)/man/cha-%.md.roff
awk 'last=="T}" && $$1=="T{" {print "_"} {last=$$1} 1' $< > $@