ID: e2f2d50ad604b35ac79f117b4adbbd5b79381b02
31 lines
—
564B —
View raw
| SHELL = /bin/bash
REPOSITORY = https://github.com/dask/dask.git
check_env_vars:
ifdef OUTPUT_PATH
OUTPUT_PATH := ${OUTPUT_PATH}/dask
else
$(error OUTPUT_PATH is undefined)
endif
venv:
python3 -m venv venv
repository:
git clone ${REPOSITORY} repository
2023.12.0: check_env_vars venv repository
mkdir --parents "${OUTPUT_PATH}"
source venv/bin/activate
cd repository
git checkout tags/$@
pip install -r docs/requirements-docs.txt
cd docs
make dirhtml
cp --recursive build/dirhtml "${OUTPUT_PATH}/$@"
.ONESHELL:
.SUFFIXES:
.PHONY:
.DELETE_ON_ERROR:
|