Differences From Artifact [06110670ad]:

To Artifact [012dbef7ac]:


1

2
3
4

5
6
7
8
9
10







11
12
13
14

15
16
17


18
19
20
21
22
23
24

1

2
3
4
5





6
7
8
9
10
11
12
13
14

15
16
17


18
19
20






-
+
-


+

-
-
-
-
-
+
+
+
+
+
+
+


-

+

-
-
+
+

-
-
-
-
-
-
REFS=refs.bib
PDF=_build/syllabus-latest.pdf
PROCBIB=docs/bib.md

.PHONY: publish clean serve purge

site: build

build: clean $(PROCBIB)
	mkdocs build
publish: build
	fossil uv add `find site`
$(PDF):
	myst build --pdf
build: clean
	myst build --html
publish: build $(PDF)
	fossil uv add `find _build/html`
	fossil uv add $(PDF)
	fossil uv sync
clean: 
	rm -f $(PROCBIB)
	find -name '*~' | xargs -r rm
	myst clean -y
serve:
	mkdocs serve
purge:
	myst start
purge: clean
	fossil uv ls | xargs fossil uv rm {}
	rm -rf site/

$(PROCBIB): $(REFS)
	echo -e "# References\n" > $@
	pandoc -C $(REFS) \
	    -t markdown_strict >> $@