Skip to content

Commit

Permalink
docs: add Makefile target to build docs website
Browse files Browse the repository at this point in the history
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
  • Loading branch information
hdonnay committed Oct 13, 2020
1 parent 2363778 commit dc4bda4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -143,3 +143,10 @@ local-dev-traefik-restart:
.PHONY: container-build
container-build:
$(docker) build -t clair-local:latest .

DOCS_DIR ?= ../clair-doc
.PHONY: docs-build
docs-build:
mdbook build
rsync --recursive --delete-after --exclude 'v4.*' --exclude .git\
./book/ $(DOCS_DIR)/

0 comments on commit dc4bda4

Please sign in to comment.