diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -28,7 +28,7 @@ all: preview preview: quarto preview -render: +render: $(ANNOT_TAGS:%=annot/%/index.qmd) quarto render publish: @@ -53,11 +53,14 @@ annot-sync: annot-render: gooseberry make --uri urn:x-pdf:923a0c10ff1cdb4db772a8a948176c52 --clear --force + +$(ANNOT_TAGS:%=annot/%/index.qmd): annot/%/index.qmd: ~/gooseberry/%.md + @mkdir --parents $(dir $@) 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 |