blob: af1651b95f2cafef4c6c3e004fbfa8081461d0b3 (
plain)
- ARTICLES = learn code use
- all: preview
- preview:
- quarto preview
- render:
- quarto render
- publish:
- rsync -avH --delete-after _site/ www-ruc@xayide.jones.dk:public_websites/thoughtroam.abcde.../
- tidy:
- bibclean -max-width 0 ref.bib > ref.bib~
- mv ref.bib~ ref.bib
- $(ARTICLES:%=screening-of-%): screening-of-%:
- QUARTO_LOG_LEVEL=quiet \
- quarto render $*/index.qmd --to man --output - | man -l -
- $(ARTICLES:%=wordcount-of-%): wordcount-of-%:
- QUARTO_LOG_LEVEL=quiet \
- quarto render $*/index.qmd --to plain --columns=9999 --output - \
- | perl -nE 'next if /^-*$$/; $$bilag += $$_ eq "Bilag 1\n"; $$chars += length unless $$bilag; END { say $$chars }'
|