summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2024-02-25 12:00:48 +0100
committerJonas Smedegaard <dr@jones.dk>2024-02-25 12:00:48 +0100
commit58165ee016e6bc2eec2e159d2b9ea88d26265761 (patch)
tree211fe4df5f469e380d3e72675ce4598872165c6f
parent4f5bc96f3a4252a686d75835f4c9f91f6ef5c7bd (diff)
fix and update make targets pad-*
-rw-r--r--Makefile24
1 files changed, 17 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index d3677b2..e45f220 100644
--- a/Makefile
+++ b/Makefile
@@ -38,20 +38,30 @@ pad-login:
pad-list:
hedgedoc history
-pad-export-all: $(ARTICLES:%=pad-export-%)
+pad-export-all: pad-export-superteam $(ARTICLES:%=pad-export-%)
-pad-export-learn:
- hedgedoc export --md /CP1pFdg_QlGiYxtKc9IHBg learn/index.qmd
+pad-export-superteam: ref.bib
+ hedgedoc export --md 8krqOrqnR0iAIExDTtTrxw $<
+ perl -g -e 's/\s*\z/\n/' $<
-pad-export-code:
- hedgedoc export --md /8QGRP0iTRwe7hFmoAX4QnA code/index.qmd
+pad-export-learn: learn/index.qmd
+ hedgedoc export --md CP1pFdg_QlGiYxtKc9IHBg $<
+ perl -g -e 's/\s*\z/\n/' $<
-pad-export-use:
- hedgedoc export --md /aFt_nNkYTQibl0CQrBJhtQ code/index.qmd
+pad-export-code: code/index.qmd
+ hedgedoc export --md 8QGRP0iTRwe7hFmoAX4QnA $<
+ perl -g -e 's/\s*\z/\n/' $<
+
+pad-export-use: use/index.qmd
+ hedgedoc export --md aFt_nNkYTQibl0CQrBJhtQ $<
+ perl -g -e 's/\s*\z/\n/' $<
$(ARTICLES:%=pad-import-%): pad-import-%:
hedgedoc import $*/index.qmd
+pad-import-ref:
+ hedgedoc import ref.bib
+
tidy:
bibclean -max-width 0 ref.bib > ref.bib~
mv ref.bib~ ref.bib