summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-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