ID: 59255ec15ea09c9e719687789feb697688e50dd1
31 lines
—
571B —
View raw
| SHELL = /bin/bash
REPOSITORY = https://github.com/Pylons/hypatia.git
check_env_vars:
ifdef OUTPUT_PATH
OUTPUT_PATH := ${OUTPUT_PATH}/pylons-hypatia
else
$(error OUTPUT_PATH is undefined)
endif
venv-3.10:
export PYENV_VERSION=3.10
python3 -m venv venv
repository:
git clone ${REPOSITORY} repository
0.4: check_env_vars venv-3.10 repository
source venv/bin/activate
cd repository
git checkout tags/$@
pip install .[docs]
cd docs
mkdir --parents "${OUTPUT_PATH}"
sphinx-build -b dirhtml . "${OUTPUT_PATH}/$@"
.ONESHELL:
.SUFFIXES:
.PHONY:
.DELETE_ON_ERROR:
|