Files
clear-linux-documentation/Makefile
michael vincerra da2334e3ab In top Makefile, adds venv target to use virtualenv: (#741)
- 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>
2019-09-22 21:06:08 -07:00

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;