aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
blob: 34d193e29de5b740c960ba641887859cb3c9a43f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
.PHONY: all
all: slide.pdf

slide.pdf: slide.saty
	docker run \
		-it \
		--rm \
		--name satysfi \
		--mount type=bind,src=$$(pwd),dst=/work \
		satysfi \
		satysfi slide.saty

.PHONY: shell
shell:
	docker run \
		-it \
		--rm \
		--name satysfi \
		--mount type=bind,src=$$(pwd),dst=/work \
		satysfi \
		sh

.PHONY: docker
docker:
	docker build --tag satysfi .

.PHONY: clean
clean:
	rm -f *.pdf *.satysfi-aux

.PHONY: test
test:
	@bash test.sh