summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2022-04-21 14:50:12 +0300
committereug-vs <eugene@eug-vs.xyz>2022-04-21 14:50:12 +0300
commit53743b48b65ecf43b43ea4924b26bbfd80c39ecb (patch)
tree052cd4f8194f9ffde960b2dfc7b4da6c9358f93d
parent9f3c80d1072b2445edcc72073506a4e37caa262a (diff)
downloadbenzin-53743b48b65ecf43b43ea4924b26bbfd80c39ecb.tar.gz
feat: support custom convert commands
-rw-r--r--Makefile4
1 files 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)