summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2016-07-27 19:29:34 +0200
committerMatthias Beyer <mail@beyermatthias.de>2016-07-27 19:29:34 +0200
commit7c8c9b5264863608fc3dc08f324c42751d47c4e7 (patch)
tree4b3483064a5bd7b580a1590527df44376920ad30 /Makefile
parentbe0a9071455c1fe2205548758bd107ec3ebb91c1 (diff)
Add Makefile target for building the lib documentation
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7e587fb9..928876b7 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,8 @@
toml = $@/Cargo.toml
bin = $@/target/debug/$@
+doc-crate-toml=./.imag-documentation/Cargo.toml
+
default: all
.PHONY: clean
@@ -11,6 +13,9 @@ imag-%: prep
cargo build --manifest-path $(toml)
cp $(bin) out/
+lib-doc:
+ cargo build --manifest-path $(doc-crate-toml)
+
prep:
mkdir -p out/