fix: update Makefile for better pandoc options

This commit is contained in:
Phil Clifford 2024-05-14 13:19:41 +01:00 committed by Martin Wimpress
parent 304d459ddb
commit 542fcbe50e
1 changed files with 4 additions and 1 deletions

View File

@ -2,7 +2,10 @@ PANDOC ?= pandoc
MANSECTION ?= 1 MANSECTION ?= 1
MANPAGE.md = $(PANDOC) --standalone $(PANDOCFLAGS) --to man PANDOC_OPTIONS=-f gfm+definition_lists --standalone
MANPAGE.md = $(PANDOC) --standalone $(PANDOC_OPTIONS) --to man
%.$(MANSECTION): %.$(MANSECTION).md %.$(MANSECTION): %.$(MANSECTION).md
$(MANPAGE.md) $< -o $@ $(MANPAGE.md) $< -o $@