ID: a81b4eb39b9b64e5ac48f8d10720c8b33a609cf8
33 lines
—
660B —
View raw
| SHELL = /bin/bash
REPOSITORY = https://github.com/enzo-project/enzo-e.git
check_env_vars:
ifdef OUTPUT_PATH
OUTPUT_PATH := ${OUTPUT_PATH}/enzoamr-e
else
$(error OUTPUT_PATH is undefined)
endif
venv-3.11:
export PYENV_VERSION=3.11
python3 -m venv venv
repository:
git clone ${REPOSITORY} repository
enzoe-1.0: check_env_vars venv-3.11 repository
source venv/bin/activate
cd repository
git checkout tags/$@
pip install -r doc/source/requirements.txt "sphinx < 8" "sphinx_rtd_theme"
cd doc
make clean
make dirhtml
mkdir --parents "${OUTPUT_PATH}"
cp --recursive build/dirhtml "${OUTPUT_PATH}/$@"
.ONESHELL:
.SUFFIXES:
.PHONY:
.DELETE_ON_ERROR:
|