Move architecture to doc folder

This commit is contained in:
flyingscorpio@clevo 2022-12-01 15:11:01 +01:00
parent 827d711436
commit f3df13f8fd
3 changed files with 5 additions and 5 deletions

View file

@ -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