From 58165ee016e6bc2eec2e159d2b9ea88d26265761 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 25 Feb 2024 12:00:48 +0100 Subject: fix and update make targets pad-* --- Makefile | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3