From 3663f61e0e41afa32e82fcd693bb661c7406244b Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Sun, 9 Jun 2019 21:26:55 -0700 Subject: [PATCH] specify title metadata and markdown format when calling pandoc this change silences a warning message and prevents the unwanted use of smart quotes when using pandoc 2.7.1 to generate human-readable versions of README and other markdown files. --- Makefile.in | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile.in b/Makefile.in index 139fbdda34..bb98b5af2e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -97,27 +97,27 @@ test-force: exit $$status README: README.md - ${PANDOC} --email-obfuscation=none -s -t html README.md | \ + ${PANDOC} --email-obfuscation=none -s --metadata title="README" -f markdown-smart -t html README.md | \ ${W3M} -dump -cols 75 -O ascii -T text/html | \ sed -e '$${/^$$/d;}' > $@ HISTORY: HISTORY.md - ${PANDOC} --email-obfuscation=none -s -t html HISTORY.md | \ + ${PANDOC} --email-obfuscation=none -s --metadata title="HISTORY" -f markdown-smart -t html HISTORY.md | \ ${W3M} -dump -cols 75 -O ascii -T text/html | \ sed -e '$${/^$$/d;}' > $@ OPTIONS: OPTIONS.md - ${PANDOC} --email-obfuscation=none -s -t html OPTIONS.md | \ + ${PANDOC} --email-obfuscation=none -s --metadata title="OPTIONS" -f markdown-smart -t html OPTIONS.md | \ ${W3M} -dump -cols 75 -O ascii -T text/html | \ sed -e '$${/^$$/d;}' > $@ CONTRIBUTING: CONTRIBUTING.md - ${PANDOC} --email-obfuscation=none -s -t html CONTRIBUTING.md | \ + ${PANDOC} --email-obfuscation=none -s --metadata title="CONTRIBUTING" -f markdown-smart -t html CONTRIBUTING.md | \ ${W3M} -dump -cols 75 -O ascii -T text/html | \ sed -e '$${/^$$/d;}' > $@ PLATFORMS: PLATFORMS.md - ${PANDOC} --email-obfuscation=none -s -t html PLATFORMS.md | \ + ${PANDOC} --email-obfuscation=none -s --metadata title="PLATFORMS" -f markdown-smart -t html PLATFORMS.md | \ ${W3M} -dump -cols 75 -O ascii -T text/html | \ sed -e '$${/^$$/d;}' > $@