diff options
author | Jonas Smedegaard <dr@jones.dk> | 2024-06-01 18:05:24 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2024-06-04 17:35:42 +0200 |
commit | f114390fd935c4884dcbb89b12d99fbd82abf01c (patch) | |
tree | a2367df9507d76651ae6c2b190314ffe7bb5c6b5 /Makefile | |
parent | 01f066dc3caabdaf854f0601ea2c238d22226afc (diff) |
add annotation addendum for tags ontology reflection, via make target annot-all
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -5,6 +5,8 @@ BASE_SSH = $(SSH_HOST):$(SSH_BASE_PATH) BASE_IRI = https://thoughtroam.abcdefghijklmnopqrstuvxyzæøå.dk/ BASE_URI = https://thoughtroam.xn--abcdefghijklmnopqrstuvxyz-0fc0a81c.dk/ +ANNOT_TAGS = ontology reflection + #PAD_ARTICLES = worlding ARTICLES = waste worlding @@ -44,16 +46,18 @@ learn/$(ONTOLOGIES_VERSION)/%.ttl: learn/%.ttl -e 's,\n\s*owl:imports\s[^\n]+;(?=\n),,g;' \ < $< > $@ -annot-all: annot-sync annot-fetch +annot-all: annot-sync annot-render annot-sync: gooseberry sync -annot-fetch: - gooseberry view --uri urn:x-pdf:923a0c10ff1cdb4db772a8a948176c52 > worlding/_annot.md - annot-render: gooseberry make --uri urn:x-pdf:923a0c10ff1cdb4db772a8a948176c52 --clear --force + perl -p \ + -e 's/^#(?=\s)/##/g;' \ + -e 's/^(?:Group|Created|Tags):.*\K/ /g;' \ + -e 's/^\[See in context\].*//g;' \ + $(ANNOT_TAGS:%=~/gooseberry/%.md) > worlding/_annot.md cal-all: cal-fetch cal-render cal-publish |