Skip to content
Snippets Groups Projects
Commit cf294712 authored by philippe coval's avatar philippe coval :speech_balloon: Committed by Pavel Zhukov
Browse files

docs: Add helper makefile

It worked for me on latest ubuntu,
and can adapter for other distros

Forwarded: https://booting.oniroproject.org/distro/oniro/-/merge_requests/375
Relate-to: https://git.ostc-eu.org/OSTC/OHOS/meta-ohos/-/merge_requests/235


Signed-off-by: default avatarPhilippe Coval <philippe.coval@huawei.com>
parent cb3c1c63
No related branches found
No related tags found
No related merge requests found
......@@ -2,9 +2,29 @@
#
# SPDX-License-Identifier: Apache-2.0
default: help all
sudo ?=
.PHONY: all
help:
@echo "Usage: "
@echo "make all # to build HTML from rst sources"
@echo "make clean # to cleanup"
@echo "make setup/debian sudo=sudo # To install build tools (on debian and derived)"
all:
sphinx-build -W . build
clean:
rm -rf ./build
setup/debian: /etc/debian_version
${sudo} apt-get install -y \
make \
python3-sphinx-tabs \
python3-sphinxcontrib.plantuml \
python3-dask-sphinx-theme \
# EOL
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment