diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2018-04-26 16:50:11 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2018-04-26 20:31:51 +0200 |
commit | 5ea132288e4f83fa24ebf3f61b503e440aaccad5 (patch) | |
tree | 994f68bcc9a8af360e77c5cc79d4fe7f5981e368 /Makefile | |
parent | ed76ee7723e232d288522db61e6ddabd6fd90b90 (diff) |
Fix manpage generation with pandoc >=2.1
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |