From 5ea132288e4f83fa24ebf3f61b503e440aaccad5 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Thu, 26 Apr 2018 16:50:11 +0200 Subject: Fix manpage generation with pandoc >=2.1 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 76057e2..5d421bf 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ all: ${MANPAGES} # 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 \ @@ -29,7 +29,7 @@ all: ${MANPAGES} , meta \ , blocks: .blocks | map(fixheaders) | map(fixlinks) \ }" | \ - pandoc -sS -f json -t man -o "$@" + pandoc -s -f json -t man+smart -o "$@" install: ${MANPAGES} install -d $(DESTDIR)/etc/lacme -- cgit v1.2.3