]> arthur.barton.de Git - bup.git/commitdiff
Allow PANDOC path to contain spaces
authorRob Browning <rlb@defaultvalue.org>
Fri, 17 Sep 2021 18:16:58 +0000 (13:16 -0500)
committerRob Browning <rlb@defaultvalue.org>
Fri, 17 Sep 2021 18:16:58 +0000 (13:16 -0500)
Thanks to Arthur Ward for reporting the problem and proposing an
alternate solution.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
GNUmakefile

index 30f1b3a1cacab7f09f61da6c57f7e7c3c579d58c..0ba62119a7bf34af85bd76a7f37d2094b7b21e5e 100644 (file)
@@ -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: