DistroHopper/documents/pandoc-man.mk
2023-03-22 23:30:32 +01:00

8 lines
No EOL
155 B
Makefile

PANDOC ?= pandoc
MANSECTION ?= 1
MANPAGE.md = $(PANDOC) --standalone $(PANDOCFLAGS) --to man
%.$(MANSECTION): %.$(MANSECTION).md
$(MANPAGE.md) $< -o $@