aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorQuentin <quentin@deuxfleurs.fr>2021-09-28 10:13:14 +0200
committerQuentin <quentin@deuxfleurs.fr>2021-09-28 10:13:14 +0200
commit78f0c9ed3883cdb1cd056d9fe365cdb28bd67fbc (patch)
tree74d8d8e45b88e4a7f7684ee10cfcf64682b5a461 /Makefile
parentde0228ca2aba0bdc01c8df98e6356776b1eb74c4 (diff)
downloadgarage-78f0c9ed3883cdb1cd056d9fe365cdb28bd67fbc.tar.gz
garage-78f0c9ed3883cdb1cd056d9fe365cdb28bd67fbc.zip
Add a doc target to the Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1098d712..7242f1d6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,10 @@
+.PHONY: doc
+
all:
clear; cargo build
+doc:
+ cd doc/book; mdbook build
+
release:
RUSTFLAGS="-C link-arg=-fuse-ld=lld -C target-cpu=x86-64 -C target-feature=+sse2" cargo build --release --no-default-features