diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2018-04-26 16:51:23 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2018-04-26 16:51:23 +0200 |
commit | a32fd7afe3bff2bcea198ef62653fcde2b31534d (patch) | |
tree | 09f2498011692c5c1e14652c7756c75b70fc6c49 /Makefile | |
parent | 849d5668da8d10c9fd0d05aeeb6519c01ce1d8af (diff) |
Fix manpage generation with pandoc >=2.1
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2,7 +2,7 @@ all: pullimap.1 interimap.1 # upper case the headers and remove the links %.1: %.md - @pandoc -S -f markdown -t json "$<" | \ + @pandoc -f markdown -t json "$<" | \ jq " \ def fixheaders: \ if .t == \"Header\" then \ @@ -27,7 +27,7 @@ all: pullimap.1 interimap.1 , meta \ , blocks: .blocks | map(fixheaders) | map(fixlinks) \ }" | \ - pandoc -sS -f json -t man -o "$@" + pandoc -s -f json -t man+smart -o "$@" install: |