ID: a80a82f8d24f58331a50f24093a4405f364619c6
31 lines
—
588B —
View raw
| SHELL = /bin/bash
REPOSITORY = https://github.com/zopefoundation/Zope.git
check_env_vars:
ifdef OUTPUT_PATH
OUTPUT_PATH := ${OUTPUT_PATH}/zope
else
$(error OUTPUT_PATH is undefined)
endif
venv:
python3 -m venv venv
repository:
git clone ${REPOSITORY} repository
5.8 5.9: check_env_vars venv repository
mkdir --parents "${OUTPUT_PATH}"
source venv/bin/activate
cd repository
git checkout tags/$@
pip install -r requirements-full.txt
pip install -r docs/requirements.txt
cd docs
sphinx-build -b dirhtml . "${OUTPUT_PATH}/$@"
.ONESHELL:
.SUFFIXES:
.PHONY:
.DELETE_ON_ERROR:
|