Makefile.am (doc, html): New documentation target

master
Mike Gerwitz 2019-11-18 13:24:22 -05:00
parent 0ab2b09dc6
commit f0ca5c60c9
2 changed files with 5 additions and 0 deletions

View File

@ -24,6 +24,7 @@ pages:
script: script:
- mkdir -p public/doc - mkdir -p public/doc
- mv doc/tame.html/* doc/tame.pdf doc/tame.info public/ - mv doc/tame.html/* doc/tame.pdf doc/tame.info public/
- mv tamer/target/doc public/tamer/
artifacts: artifacts:
paths: paths:
- public/ - public/

View File

@ -27,6 +27,10 @@ path_aux = build-aux
all: all:
cargo build cargo build
doc: html
html-am:
@CARGO@ doc
# note that 'cargo check' is something else; see 'cargo --help' # note that 'cargo check' is something else; see 'cargo --help'
test: check test: check
check-am: check-am: