diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2016-07-27 19:29:34 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2016-07-27 19:29:34 +0200 |
commit | 7c8c9b5264863608fc3dc08f324c42751d47c4e7 (patch) | |
tree | 4b3483064a5bd7b580a1590527df44376920ad30 /Makefile | |
parent | be0a9071455c1fe2205548758bd107ec3ebb91c1 (diff) |
Add Makefile target for building the lib documentation
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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/ |