1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
PDF=_build/syllabus-latest.pdf
.PHONY: publish clean serve purge
site: build
$(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:
find -name '*~' | xargs -r rm
myst clean -y
serve:
myst start
purge: clean
fossil uv ls | xargs fossil uv rm {}
|
|
|
>
|
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
PDF=syllabus-latest.pdf
.PHONY: publish clean serve purge
site: build
$(PDF):
myst build --pdf
build: clean
BASE_URL=/ecer/uv myst build --html
publish: build $(PDF)
cd _build/html && \
fossil uv add `find . | xargs realpath --relative-to=. | grep -v '^\.'`
fossil uv add $(PDF)
fossil uv sync
clean:
find -name '*~' | xargs -r rm
myst clean -y
serve:
myst start
purge: clean
fossil uv ls | xargs fossil uv rm {}
|