all: architecture.pdf server server: src/main.rs @cargo build release: src/main.rs @cargo build --release architecture.pdf: architecture.tex @latexmk -pdf architecture.tex @if ! cmp --silent build/architecture.pdf architecture.pdf; then \ cp build/architecture.pdf architecture.pdf; \ echo "Updated"; \ fi clean: @rm -rf build 2>/dev/null