ID: b229ce77cdec8df28ffcca78eae26f0c270885db
36 lines
—
709B —
View raw
| SHELL = /bin/bash
REPOSITORY = https://github.com/cannatag/ldap3.git
check_env_vars:
ifdef OUTPUT_PATH
OUTPUT_PATH := ${OUTPUT_PATH}/ldap3
else
$(error OUTPUT_PATH is undefined)
endif
venv-3.8:
export PYENV_VERSION=3.8
python3 -m venv venv
repository:
git clone ${REPOSITORY} repository
v2.9.1: check_env_vars venv-3.8 repository
source venv/bin/activate
cd repository
git checkout tags/$@
pip install -r requirements.txt
pip install -r requirements-dev.txt
pip install -r docs/manual/requirements.txt
pip install .
cd docs/manual/
make clean
make dirhtml
mkdir --parents "${OUTPUT_PATH}"
cp --recursive _build/dirhtml "${OUTPUT_PATH}/$@"
.ONESHELL:
.SUFFIXES:
.PHONY:
.DELETE_ON_ERROR:
|