]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
specify title metadata and markdown format when calling pandoc
authorEvan Hunt <each@isc.org>
Mon, 10 Jun 2019 04:26:55 +0000 (21:26 -0700)
committerEvan Hunt <each@isc.org>
Mon, 10 Jun 2019 04:26:55 +0000 (21:26 -0700)
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

index 139fbdda345da56039433eef0991da342e9325b1..bb98b5af2e5a5575789e79f13da3dfcd5491391d 100644 (file)
@@ -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;}' > $@