ID: 03bd10503bd8f756dd268df9423a39d664bee3da
28 lines
—
529B —
View raw
| SHELL = /bin/bash
REPOSITORY = https://github.com/vcs-python/libvcs.git
check_env_vars:
ifdef OUTPUT_PATH
OUTPUT_PATH := ${OUTPUT_PATH}/vcs-python-libvcs
else
$(error OUTPUT_PATH is undefined)
endif
repository:
git clone ${REPOSITORY} repository
v0.26.0: check_env_vars repository
source venv/bin/activate
cd repository
git checkout tags/$@
poetry install
cd docs
make clean dirhtml
mkdir --parents "${OUTPUT_PATH}"
cp --recursive _build/dirhtml "${OUTPUT_PATH}/$@"
.ONESHELL:
.SUFFIXES:
.PHONY:
.DELETE_ON_ERROR:
|