SATYSFI_BIN := satysfi .PHONY: all all: build # Build slide PDF. .PHONY: build build: slide.pdf slide.pdf: slide.saty $(SATYSFI_BIN) $^ # Enter Docker shell. .PHONY: shell shell: docker run \ -it \ --rm \ --name satysfi \ satysfi \ sh # Build Docker container. .PHONY: docker docker: docker build --tag satysfi . # Install dependencies. .PHONY: deps deps: rm -rf .satysfi docker create --name satysfi-tmp satysfi docker cp -L satysfi-tmp:/root/.satysfi .satysfi docker rm satysfi-tmp # Clean all artifacts. .PHONY: clean clean: rm -f *.pdf *.satysfi-aux