From a32fd7afe3bff2bcea198ef62653fcde2b31534d Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Thu, 26 Apr 2018 16:51:23 +0200 Subject: [PATCH] Fix manpage generation with pandoc >=2.1 --- Changelog | 2 +- Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Changelog b/Changelog index 4d88835..b901114 100644 --- a/Changelog +++ b/Changelog @@ -4,7 +4,7 @@ interimap (0.4) UNRELEASED (received by the IMAP FETCH ENVELOPE command) by the null sender address <>. - Ensure the lower bound of UID ranges is at least 1. - - Fix manpage generation with pandoc >=1.18. + - Fix manpage generation with pandoc >=2.1. -- Guilhem Moulin Tue, 06 Dec 2016 17:37:01 +0100 diff --git a/Makefile b/Makefile index a8474d6..d7b7133 100644 --- a/Makefile +++ b/Makefile @@ -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: -- 2.39.2