Add Makefile target for building the lib documentation
This commit is contained in:
parent
be0a907145
commit
7c8c9b5264
1 changed files with 5 additions and 0 deletions
5
Makefile
5
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/
|
||||
|
||||
|
|
Loading…
Reference in a new issue