mirror of
https://github.com/clearlinux/clear-linux-documentation.git
synced 2026-05-14 02:43:43 +00:00
- Contributors may run `make venv` and install requirements.txt without modifying host OS - Innermost `requirements.txt`, 2 dependencies, moved to uppermost requirements.txt - Adds `venv` to .gitignore in case contributors/developer forget to remove. - Reverts source/conf.py to original. - Replaces python command with python3 in innermost _python/Makefile Signed-off-by: Michael Vincerra <michael.vincerra@intel.com>
41 lines
567 B
Makefile
41 lines
567 B
Makefile
# Makefile for Sphinx documentation
|
|
|
|
SHELL := /bin/bash
|
|
|
|
PY_VERSION ?= 3.6
|
|
|
|
all:
|
|
make -C source html
|
|
|
|
htmlall:
|
|
make -C source htmlall
|
|
|
|
htmlzh:
|
|
make -C source htmlzh
|
|
|
|
htmlde:
|
|
make -C source htmlde
|
|
|
|
html:
|
|
make -C source html
|
|
|
|
linkcheck:
|
|
make -C source linkcheck
|
|
|
|
py:
|
|
make -C source py
|
|
|
|
help:
|
|
@echo "Please use \`make <target>' where <target> is one of"
|
|
@echo " html to make standalone HTML files"
|
|
|
|
clean:
|
|
make -C source clean
|
|
rm -rf venv
|
|
|
|
venv:
|
|
virtualenv -p python$(PY_VERSION) venv;
|
|
source venv/bin/activate; \
|
|
pip3 install -r requirements.txt;
|
|
|