diff options
author | eug-vs <eugene@eug-vs.xyz> | 2022-04-21 14:50:12 +0300 |
---|---|---|
committer | eug-vs <eugene@eug-vs.xyz> | 2022-04-21 14:50:12 +0300 |
commit | 53743b48b65ecf43b43ea4924b26bbfd80c39ecb (patch) | |
tree | 052cd4f8194f9ffde960b2dfc7b4da6c9358f93d | |
parent | 9f3c80d1072b2445edcc72073506a4e37caa262a (diff) | |
download | benzin-53743b48b65ecf43b43ea4924b26bbfd80c39ecb.tar.gz |
feat: support custom convert commands
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |