Skip to content

Commit

Permalink
fix: update Makefile for better pandoc options
Browse files Browse the repository at this point in the history
  • Loading branch information
philclifford authored and flexiondotorg committed May 14, 2024
1 parent 304d459 commit 542fcbe
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/pandoc-man.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ PANDOC ?= pandoc

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
$(MANPAGE.md) $< -o $@

0 comments on commit 542fcbe

Please sign in to comment.