From 02d6e08f3e6476ed9ebe6f6ade0f7a3f79b4536a Mon Sep 17 00:00:00 2001 From: Rob Browning Date: Fri, 17 Sep 2021 13:16:58 -0500 Subject: [PATCH] Allow PANDOC path to contain spaces Thanks to Arthur Ward for reporting the problem and proposing an alternate solution. Signed-off-by: Rob Browning Tested-by: Rob Browning --- GNUmakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 30f1b3a..0ba6211 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -252,11 +252,11 @@ Documentation/substvars: $(bup_deps) Documentation/%.1: Documentation/%.md Documentation/substvars $(pf); sed -f Documentation/substvars $< \ - | $(PANDOC) -s -r markdown -w man -o $@ + | "$(PANDOC)" -s -r markdown -w man -o $@ Documentation/%.html: Documentation/%.md Documentation/substvars $(pf); sed -f Documentation/substvars $< \ - | $(PANDOC) -s -r markdown -w html -o $@ + | "$(PANDOC)" -s -r markdown -w html -o $@ .PHONY: Documentation/clean Documentation/clean: -- 2.39.2