aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2024-02-25 09:28:24 +0100
committerJonas Smedegaard <dr@jones.dk>2024-02-25 09:28:24 +0100
commitf39ada62a0f8c904f2d35339d6142331d5be588d (patch)
tree34b0c8992e0b84d38b5d9d6e3632dfe5b1aa73ca /Makefile
parente0ca917a2043d4751bd3b22c29c888c8e0bde491 (diff)
cover events
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 17 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index beaa1f7..b5d6674 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,7 @@
+SSH_HOST = www-ruc@xayide.jones.dk
+SSH_BASE_PATH = public_websites/thoughtroam.abcde.../
+
+BASE_SSH = $(SSH_HOST):$(SSH_BASE_PATH)
BASE_IRI = https://thoughtroam.abcdefghijklmnopqrstuvxyzæøå.dk/
ARTICLES = learn code use
@@ -11,7 +15,19 @@ render:
quarto render
publish:
- rsync -avH --delete-after _site/ www-ruc@xayide.jones.dk:public_websites/thoughtroam.abcde.../
+ rsync -avH --delete-after _site/ $(BASE_SSH)
+
+cal-all: cal-fetch cal-render cal-publish
+
+cal-fetch:
+ bin/cal-fetch.sh
+
+cal-render:
+ bin/cal-publish.sh
+
+cal-publish:
+ ssh $(SSH_HOST) mkdir -p $(SSH_BASE_PATH)events/
+ rsync -avH --delete-after $(patsubst %,events/%,$(ARTICLES) superteam) $(BASE_SSH)events/
tidy:
bibclean -max-width 0 ref.bib > ref.bib~