Artifact c047ab90f6e5d2c1871dd38070e11b45f2bdc547fabfcc63721a0ad0ef4649a1:
- File Makefile — part of check-in [403a2346ff] at 2021-01-28 16:17:27 on branch trunk — initial check-in (user: jboy, size: 458) [annotate] [blame] [check-ins using]
REFS=refs.bib
RAWBIB=refs.md
PROCBIB=docs/bib.md
.PHONY: publish clean serve purge
site: build
build: clean $(PROCBIB)
mkdocs build
publish: build
fossil uv add `find site`
fossil uv sync
clean:
rm -f $(PROCBIB)
find -name '*~' | xargs -r rm
serve:
mkdocs serve
purge:
fossil uv ls | xargs fossil uv rm {}
rm -rf site/
$(PROCBIB): $(REFS) $(RAWBIB)
pandoc -C \
--bibliography=$(REFS) \
$(RAWBIB) \
-t markdown_strict \
-o $@