From 53743b48b65ecf43b43ea4924b26bbfd80c39ecb Mon Sep 17 00:00:00 2001 From: eug-vs Date: Thu, 21 Apr 2022 14:50:12 +0300 Subject: feat: support custom convert commands --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 42219a6..8712bf6 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ BASE_URL=https://example.com -PANDOC_ARGS=--from=gfm+emoji --to=html --section-divs +CONVERT=pandoc --from=gfm+emoji --to=html --section-divs PAGE_TEMPLATE=templates/page.html OPENRING_TEMPLATE=templates/openring.html RSS_TEMPLATE=templates/rss.xml @@ -36,7 +36,7 @@ out/%.html: tmp/%.content.html tmp/%.meta.title $(PAGE_TEMPLATE) $(OPENRING_FOOT tmp/%.content.html: src/%.md @mkdir -p $(@D) - pandoc $(PANDOC_ARGS) $< > $@ + $(CONVERT) $< > $@ tmp/%.meta.title: src/%.md @mkdir -p $(@D) -- cgit v1.2.3