forked from intel-retail/performance-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (29 loc) · 695 Bytes
/
Makefile
File metadata and controls
37 lines (29 loc) · 695 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copyright © 2024 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
.PHONY: build-benchmark-docker docs docs-builder-image build-docs serve-docs clean
MKDOCS_IMAGE ?= asc-mkdocs
build-benchmark-docker:
cd docker && $(MAKE) build-all
docs: clean-docs
mkdocs build
mkdocs serve -a localhost:8008
docs-builder-image:
docker build \
-f Dockerfile.docs \
-t $(MKDOCS_IMAGE) \
.
build-docs: docs-builder-image
docker run --rm \
-v $(PWD):/docs \
-w /docs \
$(MKDOCS_IMAGE) \
build
serve-docs: docs-builder-image
docker run --rm \
-it \
-p 8008:8000 \
-v $(PWD):/docs \
-w /docs \
$(MKDOCS_IMAGE)
clean:
docker rm -f $(docker ps -aq)