diff --git a/Makefile b/Makefile index 94d4246..9712127 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -all: architecture.pdf server +all: doc/architecture.pdf server server: src/main.rs @cargo build @@ -6,10 +6,10 @@ server: src/main.rs 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; \ +doc/architecture.pdf: doc/architecture.tex + @latexmk -pdf doc/architecture.tex + @if ! cmp --silent build/architecture.pdf doc/architecture.pdf; then \ + cp build/architecture.pdf doc/architecture.pdf; \ echo "Updated"; \ fi diff --git a/architecture.pdf b/doc/architecture.pdf similarity index 99% rename from architecture.pdf rename to doc/architecture.pdf index 3a0929e..6d95040 100644 Binary files a/architecture.pdf and b/doc/architecture.pdf differ diff --git a/architecture.tex b/doc/architecture.tex similarity index 100% rename from architecture.tex rename to doc/architecture.tex