diff options
author | Jonas Smedegaard <dr@jones.dk> | 2024-04-16 15:28:16 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2024-04-16 15:28:16 +0200 |
commit | ea0a38606fb2b10bc748fe4f4938b514f329e169 (patch) | |
tree | c97dd46dc67c9a13f6dbd7d218e1b0df936fe61b | |
parent | 55802c043cb0a3b1e72f72f6625fbefe6c1a0697 (diff) |
streamline make targets pad-export-*
-rw-r--r-- | Makefile | 38 |
1 files changed, 23 insertions, 15 deletions
@@ -43,27 +43,35 @@ pad-login: pad-list: hedgedoc history -pad-export-all: pad-export-superteam $(PAD_ARTICLES:%=pad-export-%) pad-export-code-gantt +pad-export-all: pad-export-superteam $(PAD_ARTICLES:%=pad-export-%) pad-export-superteam: ref.bib - hedgedoc export --md 8krqOrqnR0iAIExDTtTrxw $< - perl -g -e 's/\s*\z/\n/' $< -pad-export-learn: learn/index.qmd - hedgedoc export --md CP1pFdg_QlGiYxtKc9IHBg $< - perl -g -e 's/\s*\z/\n/' $< +pad-export-learn: ref.bib learn/index.qmd -pad-export-code: code/index.qmd - hedgedoc export --md 8QGRP0iTRwe7hFmoAX4QnA $< - perl -g -e 's/\s*\z/\n/' $< +pad-export-code: ref.bib code/index.qmd code/_gantt.qmd -pad-export-code-gantt: code/_gantt.qmd - hedgedoc export --md mJnfBHZ7Qr2W1Hu-QppL8A $<~ - bin/hedgedoc2quarto $<~ $< +pad-export-use: ref.bib use/index.qmd -pad-export-use: use/index.qmd - hedgedoc export --md aFt_nNkYTQibl0CQrBJhtQ $< - perl -g -e 's/\s*\z/\n/' $< +ref.bib: + hedgedoc export --md 8krqOrqnR0iAIExDTtTrxw $@ + perl -g -e 's/\s*\z/\n/' $@ + +learn/index.qmd: + hedgedoc export --md CP1pFdg_QlGiYxtKc9IHBg $@ + perl -g -e 's/\s*\z/\n/' $@ + +code/index.qmd: + hedgedoc export --md 8QGRP0iTRwe7hFmoAX4QnA $@ + perl -g -e 's/\s*\z/\n/' $@ + +code/_gantt.qmd: + hedgedoc export --md mJnfBHZ7Qr2W1Hu-QppL8A $@~ + bin/hedgedoc2quarto $@~ $@ + +use/index.qmd: + hedgedoc export --md aFt_nNkYTQibl0CQrBJhtQ $@ + perl -g -e 's/\s*\z/\n/' $@ $(PAD_ARTICLES:%=pad-import-%): pad-import-%: hedgedoc import $*/index.qmd |