diff options
author | Philipp Gesang <phg@phi-gamma.net> | 2021-11-12 17:14:09 +0100 |
---|---|---|
committer | Philipp Gesang <phg@phi-gamma.net> | 2021-11-12 17:14:09 +0100 |
commit | cc0eb0bce32255e95c1b86d9900209eee25a5951 (patch) | |
tree | 2d5fc9390b5a36f03f1351cf37ca991c683a9d96 /Makefile | |
parent | 4fb351e0a2f345cf1bffadeec396c7b040144a35 (diff) | |
download | vtcol-cc0eb0bce32255e95c1b86d9900209eee25a5951.tar.gz |
add rustdoc to doc recipe
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -3,21 +3,27 @@ cargo-target = ./target bin = $(cargo-target)/release/vtcol src = src/vtcol.rs meta = Cargo.toml +rustdoc-entry = target/doc/vtcol/index.html all: bin doc bin: $(bin) -doc: man +doc: man rustdoc man: $(manpage) +rustdoc: $(rustdoc-entry) + $(bin): $(src) $(meta) cargo build --release $(manpage): doc/vtcol.rst rst2man $< |gzip > $@ +$(rustdoc-entry): $(src) $(meta) + cargo doc --bins + clean: rm -f -- $(manpage) rm -rf -- $(cargo-target) |