ID: eb1ea7e05fe9e60ae9fe2fb420fa2e08f413c0df
31 lines
—
568B —
View raw
| SHELL = /bin/bash
REPOSITORY = https://github.com/buildbot/buildbot.git
check_env_vars:
ifdef OUTPUT_PATH
OUTPUT_PATH := ${OUTPUT_PATH}/buildbot
else
$(error OUTPUT_PATH is undefined)
endif
venv:
python3 -m venv venv
repository:
git clone ${REPOSITORY} repository
v3.9.0: check_env_vars venv repository
source venv/bin/activate
cd repository
git checkout tags/$@
pip install -e master[docs]
cd master/docs/
make dirhtml
mkdir --parents "${OUTPUT_PATH}"
cp --recursive _build/dirhtml "${OUTPUT_PATH}/$@"
.ONESHELL:
.SUFFIXES:
.PHONY:
.DELETE_ON_ERROR:
|