From 7c8c9b5264863608fc3dc08f324c42751d47c4e7 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Wed, 27 Jul 2016 19:29:34 +0200 Subject: [PATCH] Add Makefile target for building the lib documentation --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) 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/